2024-08-27 01:05:14,492 - INFO - Domain Default found not creating
2024-08-27 01:05:14,898 - INFO - Project ctest-TestRoutersBasic-62688110 not found, creating it
2024-08-27 01:05:15,602 - INFO - Created Project:ctest-TestRoutersBasic-62688110, ID : 7e04372e-d303-4a70-899f-dd1d06e7331b
2024-08-27 01:05:17,970 - INFO - ================================================================================
2024-08-27 01:05:17,971 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-08-27 01:05:17,971 - 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-08-27 01:05:18,271 - DEBUG - Nothing to compare xmpp stats {'10.0.0.69': {'10.20.0.21': '0'}} with
2024-08-27 01:05:18,271 - INFO - Initial checks done. Running the testcase now
2024-08-27 01:05:18,271 - INFO -
2024-08-27 01:05:19,167 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62688110
2024-08-27 01:05:19,274 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62688110
2024-08-27 01:05:19,659 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62688110', 'default']}
2024-08-27 01:05:20,032 - DEBUG - Response for create_network : {'network': {'id': '67b56168-a67d-48ff-aaf3-2106da68d0a4', 'name': 'ctest-vn-39984833', 'tenant_id': '7e04372ed3034a70899fdd1d06e7331b', 'project_id': '7e04372ed3034a70899fdd1d06e7331b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62688110', 'ctest-vn-39984833'], 'port_security_enabled': True, 'description': ''}}
2024-08-27 01:05:20,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ed8041b-d583-427a-8c07-8b5b0a8f806a', 'name': '', 'tenant_id': '7e04372ed3034a70899fdd1d06e7331b', 'network_id': '67b56168-a67d-48ff-aaf3-2106da68d0a4', 'ip_version': 4, 'cidr': '206.179.42.192/26', 'allocation_pools': [{'start': '206.179.42.194', 'end': '206.179.42.254'}], 'gateway_ip': '206.179.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.179.42.194', 'tags': [], 'project_id': '7e04372ed3034a70899fdd1d06e7331b'}}
2024-08-27 01:05:20,326 - INFO - Created VN ctest-vn-39984833
2024-08-27 01:05:20,378 - DEBUG - VN ctest-vn-39984833 UUID is 67b56168-a67d-48ff-aaf3-2106da68d0a4
2024-08-27 01:05:20,827 - DEBUG - Response for create_network : {'network': {'id': '58259e34-5b40-4370-a0fe-56db4beaa9e1', 'name': 'ctest-ext_vn-76078891', 'tenant_id': '7e04372ed3034a70899fdd1d06e7331b', 'project_id': '7e04372ed3034a70899fdd1d06e7331b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62688110', 'ctest-ext_vn-76078891'], 'port_security_enabled': True, 'description': ''}}
2024-08-27 01:05:21,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '9720a27e-2693-4d45-9e7e-35a553a9e870', 'name': '', 'tenant_id': '7e04372ed3034a70899fdd1d06e7331b', 'network_id': '58259e34-5b40-4370-a0fe-56db4beaa9e1', 'ip_version': 4, 'cidr': '106.60.16.192/26', 'allocation_pools': [{'start': '106.60.16.194', 'end': '106.60.16.254'}], 'gateway_ip': '106.60.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.60.16.194', 'tags': [], 'project_id': '7e04372ed3034a70899fdd1d06e7331b'}}
2024-08-27 01:05:21,096 - INFO - Created VN ctest-ext_vn-76078891
2024-08-27 01:05:21,150 - DEBUG - VN ctest-ext_vn-76078891 UUID is 58259e34-5b40-4370-a0fe-56db4beaa9e1
2024-08-27 01:05:21,380 - DEBUG - Services list from nova: [, , ]
2024-08-27 01:05:22,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1784-1)
2024-08-27 01:05:24,048 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1784-1)
2024-08-27 01:05:24,133 - INFO - Setting gateway for router 2da37502-3909-4392-bb1e-1dc065dfcc66 to network 58259e34-5b40-4370-a0fe-56db4beaa9e1
2024-08-27 01:05:24,197 - INFO - Adding interface with subnet_id 1ed8041b-d583-427a-8c07-8b5b0a8f806a, port_id None to router 2da37502-3909-4392-bb1e-1dc065dfcc66
2024-08-27 01:05:24,533 - INFO - Waiting for VM ctest-TestRoutersBasic-62688110-05565893 to be up..
2024-08-27 01:05:24,674 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-08-27 01:05:29,894 - DEBUG - VM is in ACTIVE state now
2024-08-27 01:05:29,894 - INFO - VM name : ctest-TestRoutersBasic-62688110-05565893
2024-08-27 01:05:30,075 - DEBUG - VM ctest-TestRoutersBasic-62688110-05565893 ID is 5d0ab723-4a8e-46e3-9224-22d4c96d96ae
2024-08-27 01:05:30,115 - DEBUG - VM ctest-TestRoutersBasic-62688110-05565893 launched on Node cn-jenkins-deploy-platform-ansible-os-1784-1
2024-08-27 01:05:30,245 - DEBUG - Requesting: http://10.0.0.69:8082/virtual-machine/5d0ab723-4a8e-46e3-9224-22d4c96d96ae
2024-08-27 01:05:30,649 - DEBUG - Requesting: http://10.0.0.69:8082/virtual-machine/5d0ab723-4a8e-46e3-9224-22d4c96d96ae
2024-08-27 01:05:30,714 - DEBUG - Requesting: http://10.0.0.69:8082/virtual-machine-interface/5631c4e5-b8b9-4a44-b8e7-d99c52d9cdb4
2024-08-27 01:05:34,013 - 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 1030ms')
2024-08-27 01:05:34,014 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62688110-05565893 failed!
2024-08-27 01:05:34,078 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62688110:ctest-vn-39984833 is 206.179.42.193 and allocation pool is NOT set
2024-08-27 01:05:36,154 - 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=16.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.615 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.615/8.603/16.591/7.988 ms')
2024-08-27 01:05:36,154 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62688110-05565893 passed
2024-08-27 01:05:36,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-27 01:05:36,318 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62688110-05565893, IP 206.179.42.195, Port 22
2024-08-27 01:05:36,384 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2024-08-27 01:05:36,510 - DEBUG - VM ctest-TestRoutersBasic-62688110-05565893 is NOT ready for SSH connections, VM status: ACTIVE
2024-08-27 01:05:41,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-27 01:05:41,512 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62688110-05565893, IP 206.179.42.195, Port 22
2024-08-27 01:05:41,692 - DEBUG - VM ctest-TestRoutersBasic-62688110-05565893 is ready for SSH connections
2024-08-27 01:05:41,692 - INFO - Waiting for VM ctest-TestRoutersBasic-62688110-52251402 to be up..
2024-08-27 01:05:41,838 - DEBUG - VM is in ACTIVE state now
2024-08-27 01:05:41,839 - INFO - VM name : ctest-TestRoutersBasic-62688110-52251402
2024-08-27 01:05:41,983 - DEBUG - VM ctest-TestRoutersBasic-62688110-52251402 ID is d18eca3d-d24c-4e1f-a1f8-8f6f9ebb1486
2024-08-27 01:05:41,983 - DEBUG - VM ctest-TestRoutersBasic-62688110-52251402 launched on Node cn-jenkins-deploy-platform-ansible-os-1784-1
2024-08-27 01:05:42,133 - DEBUG - Requesting: http://10.0.0.69:8082/virtual-machine/d18eca3d-d24c-4e1f-a1f8-8f6f9ebb1486
2024-08-27 01:05:42,152 - DEBUG - Requesting: http://10.0.0.69:8082/virtual-machine-interface/a5c37af4-0b82-47c9-922f-b9542801254f
2024-08-27 01:05:43,467 - 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=6.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 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.536/3.272/6.008/2.736 ms')
2024-08-27 01:05:43,467 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62688110-52251402 passed
2024-08-27 01:05:43,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-27 01:05:43,638 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62688110-52251402, IP 106.60.16.195, Port 22
2024-08-27 01:05:43,830 - DEBUG - VM ctest-TestRoutersBasic-62688110-52251402 is ready for SSH connections
2024-08-27 01:05:43,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-27 01:05:43,830 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.60.16.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.69, gateway password: c0ntrail123
2024-08-27 01:05:43,830 - DEBUG - ping -s 56 -c 3 -W 1 106.60.16.195
2024-08-27 01:05:47,910 - DEBUG - PING 106.60.16.195 (106.60.16.195): 56 data bytes
64 bytes from 106.60.16.195: seq=0 ttl=62 time=12.107 ms
64 bytes from 106.60.16.195: seq=1 ttl=62 time=1.932 ms
64 bytes from 106.60.16.195: seq=2 ttl=62 time=1.845 ms
--- 106.60.16.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.845/5.294/12.107 ms
2024-08-27 01:05:47,911 - INFO - Ping to IP 106.60.16.195 from VM ctest-TestRoutersBasic-62688110-05565893 passed
2024-08-27 01:05:47,911 - INFO - Deleting interface with subnet_id 1ed8041b-d583-427a-8c07-8b5b0a8f806a, port_id None from router 2da37502-3909-4392-bb1e-1dc065dfcc66
2024-08-27 01:05:48,288 - INFO - Deleting VM ctest-TestRoutersBasic-62688110-52251402
2024-08-27 01:05:48,389 - INFO - Deleting VM ctest-TestRoutersBasic-62688110-05565893
2024-08-27 01:05:48,468 - INFO - Deleting VN ctest-ext_vn-76078891
2024-08-27 01:05:48,554 - DEBUG - VN 58259e34-5b40-4370-a0fe-56db4beaa9e1 still in use: Unable to complete operation on network 58259e34-5b40-4370-a0fe-56db4beaa9e1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5cf27e43-6af5-44dd-9e37-3254c46dafdf']
2024-08-27 01:05:48,554 - WARNING - Deleting VN ctest-ext_vn-76078891 failed..Will retry
2024-08-27 01:05:50,831 - DEBUG - Response for deleting network ()
2024-08-27 01:05:50,831 - INFO - Deleting VN ctest-vn-39984833
2024-08-27 01:05:50,999 - DEBUG - Response for deleting network ()
2024-08-27 01:05:51,313 - DEBUG - No XMPP flaps were noticed during the test
2024-08-27 01:05:51,313 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2024-08-27 01:05:51,313 - INFO - --------------------------------------------------------------------------------
2024-08-27 01:05:52,275 - INFO - Deleted project: ctest-TestRoutersBasic-62688110, ID : 7e04372e-d303-4a70-899f-dd1d06e7331b