2024-10-31 02:26:15,655 - INFO - Domain Default found not creating
2024-10-31 02:26:15,838 - INFO - Project ctest-TestRoutersBasic-80598848 not found, creating it
2024-10-31 02:26:16,352 - INFO - Created Project:ctest-TestRoutersBasic-80598848, ID : 470f2471-415f-405e-8b7e-346444733bd3
2024-10-31 02:26:17,895 - INFO - ================================================================================
2024-10-31 02:26:17,895 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-31 02:26:17,896 - 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-31 02:26:18,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.6': '0'}} with
2024-10-31 02:26:18,153 - INFO - Initial checks done. Running the testcase now
2024-10-31 02:26:18,154 - INFO -
2024-10-31 02:26:18,882 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80598848
2024-10-31 02:26:18,983 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80598848
2024-10-31 02:26:19,318 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80598848', 'default']}
2024-10-31 02:26:19,611 - DEBUG - Response for create_network : {'network': {'id': '6bc9da6f-a405-489b-b2de-ac5844414d09', 'name': 'ctest-vn-32618373', 'tenant_id': '470f2471415f405e8b7e346444733bd3', 'project_id': '470f2471415f405e8b7e346444733bd3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80598848', 'ctest-vn-32618373'], 'port_security_enabled': True, 'description': ''}}
2024-10-31 02:26:19,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '35769081-d65c-48f1-aef7-0e449ef9f941', 'name': '', 'tenant_id': '470f2471415f405e8b7e346444733bd3', 'network_id': '6bc9da6f-a405-489b-b2de-ac5844414d09', 'ip_version': 4, 'cidr': '87.170.78.128/26', 'allocation_pools': [{'start': '87.170.78.130', 'end': '87.170.78.190'}], 'gateway_ip': '87.170.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.170.78.130', 'tags': [], 'project_id': '470f2471415f405e8b7e346444733bd3'}}
2024-10-31 02:26:19,820 - INFO - Created VN ctest-vn-32618373
2024-10-31 02:26:19,871 - DEBUG - VN ctest-vn-32618373 UUID is 6bc9da6f-a405-489b-b2de-ac5844414d09
2024-10-31 02:26:20,196 - DEBUG - Response for create_network : {'network': {'id': '9e3a92a6-7b2a-4401-ad2c-0dc230383d0d', 'name': 'ctest-ext_vn-51968344', 'tenant_id': '470f2471415f405e8b7e346444733bd3', 'project_id': '470f2471415f405e8b7e346444733bd3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80598848', 'ctest-ext_vn-51968344'], 'port_security_enabled': True, 'description': ''}}
2024-10-31 02:26:20,412 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebfb2db1-c3c2-4c11-9b57-1abb6106ba03', 'name': '', 'tenant_id': '470f2471415f405e8b7e346444733bd3', 'network_id': '9e3a92a6-7b2a-4401-ad2c-0dc230383d0d', 'ip_version': 4, 'cidr': '8.17.171.64/26', 'allocation_pools': [{'start': '8.17.171.66', 'end': '8.17.171.126'}], 'gateway_ip': '8.17.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.17.171.66', 'tags': [], 'project_id': '470f2471415f405e8b7e346444733bd3'}}
2024-10-31 02:26:20,433 - INFO - Created VN ctest-ext_vn-51968344
2024-10-31 02:26:20,482 - DEBUG - VN ctest-ext_vn-51968344 UUID is 9e3a92a6-7b2a-4401-ad2c-0dc230383d0d
2024-10-31 02:26:20,648 - DEBUG - Services list from nova: [, , ]
2024-10-31 02:26:21,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2180-1)
2024-10-31 02:26:22,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2180-1)
2024-10-31 02:26:23,127 - INFO - Setting gateway for router 2c16bd16-5bc5-4b5c-84c4-48e8da210971 to network 9e3a92a6-7b2a-4401-ad2c-0dc230383d0d
2024-10-31 02:26:23,188 - INFO - Adding interface with subnet_id 35769081-d65c-48f1-aef7-0e449ef9f941, port_id None to router 2c16bd16-5bc5-4b5c-84c4-48e8da210971
2024-10-31 02:26:23,564 - INFO - Waiting for VM ctest-TestRoutersBasic-80598848-27198388 to be up..
2024-10-31 02:26:23,749 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-31 02:26:28,831 - DEBUG - VM is in ACTIVE state now
2024-10-31 02:26:28,831 - INFO - VM name : ctest-TestRoutersBasic-80598848-27198388
2024-10-31 02:26:28,920 - DEBUG - VM ctest-TestRoutersBasic-80598848-27198388 ID is d3e9359d-7662-4808-bd19-4acb881ee561
2024-10-31 02:26:28,940 - DEBUG - VM ctest-TestRoutersBasic-80598848-27198388 launched on Node cn-jenkins-deploy-platform-ansible-os-2180-1
2024-10-31 02:26:29,020 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d3e9359d-7662-4808-bd19-4acb881ee561
2024-10-31 02:26:29,321 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d3e9359d-7662-4808-bd19-4acb881ee561
2024-10-31 02:26:29,357 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/eae4527a-e924-48b7-b73c-9bcf55d199d3
2024-10-31 02:26:32,608 - 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 1002ms')
2024-10-31 02:26:32,608 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80598848-27198388 failed!
2024-10-31 02:26:32,663 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80598848:ctest-vn-32618373 is 87.170.78.129 and allocation pool is NOT set
2024-10-31 02:26:34,722 - 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=5.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 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 = 1.830/3.618/5.407/1.788 ms')
2024-10-31 02:26:34,722 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80598848-27198388 passed
2024-10-31 02:26:34,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:26:34,875 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80598848-27198388, IP 87.170.78.131, Port 22
2024-10-31 02:26:34,941 - 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-10-31 02:26:35,030 - DEBUG - VM ctest-TestRoutersBasic-80598848-27198388 is NOT ready for SSH connections, VM status: ACTIVE
2024-10-31 02:26:40,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:26:40,032 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80598848-27198388, IP 87.170.78.131, Port 22
2024-10-31 02:26:40,194 - DEBUG - VM ctest-TestRoutersBasic-80598848-27198388 is ready for SSH connections
2024-10-31 02:26:40,194 - INFO - Waiting for VM ctest-TestRoutersBasic-80598848-57102872 to be up..
2024-10-31 02:26:40,273 - DEBUG - VM is in ACTIVE state now
2024-10-31 02:26:40,273 - INFO - VM name : ctest-TestRoutersBasic-80598848-57102872
2024-10-31 02:26:40,348 - DEBUG - VM ctest-TestRoutersBasic-80598848-57102872 ID is fbc9f3f5-953a-4430-86b7-22205fb3b20a
2024-10-31 02:26:40,348 - DEBUG - VM ctest-TestRoutersBasic-80598848-57102872 launched on Node cn-jenkins-deploy-platform-ansible-os-2180-1
2024-10-31 02:26:40,426 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/fbc9f3f5-953a-4430-86b7-22205fb3b20a
2024-10-31 02:26:40,435 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/7fffa02a-7f69-4a92-966c-19d27e6932c0
2024-10-31 02:26:41,669 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.712/2.983/1.271 ms')
2024-10-31 02:26:41,670 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80598848-57102872 passed
2024-10-31 02:26:41,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:26:41,819 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80598848-57102872, IP 8.17.171.67, Port 22
2024-10-31 02:26:41,978 - DEBUG - VM ctest-TestRoutersBasic-80598848-57102872 is ready for SSH connections
2024-10-31 02:26:41,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-31 02:26:41,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.17.171.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123
2024-10-31 02:26:41,978 - DEBUG - ping -s 56 -c 3 -W 1 8.17.171.67
2024-10-31 02:26:45,656 - DEBUG - PING 8.17.171.67 (8.17.171.67): 56 data bytes
64 bytes from 8.17.171.67: seq=0 ttl=62 time=4.824 ms
64 bytes from 8.17.171.67: seq=1 ttl=62 time=1.313 ms
64 bytes from 8.17.171.67: seq=2 ttl=62 time=0.942 ms
--- 8.17.171.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.942/2.359/4.824 ms
2024-10-31 02:26:45,656 - INFO - Ping to IP 8.17.171.67 from VM ctest-TestRoutersBasic-80598848-27198388 passed
2024-10-31 02:26:45,656 - INFO - Deleting interface with subnet_id 35769081-d65c-48f1-aef7-0e449ef9f941, port_id None from router 2c16bd16-5bc5-4b5c-84c4-48e8da210971
2024-10-31 02:26:45,882 - INFO - Deleting VM ctest-TestRoutersBasic-80598848-57102872
2024-10-31 02:26:45,962 - INFO - Deleting VM ctest-TestRoutersBasic-80598848-27198388
2024-10-31 02:26:46,065 - INFO - Deleting VN ctest-ext_vn-51968344
2024-10-31 02:26:46,161 - DEBUG - VN 9e3a92a6-7b2a-4401-ad2c-0dc230383d0d still in use: Unable to complete operation on network 9e3a92a6-7b2a-4401-ad2c-0dc230383d0d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2e4b241a-0b01-4563-adcd-85e7ad8b7b41']
2024-10-31 02:26:46,161 - WARNING - Deleting VN ctest-ext_vn-51968344 failed..Will retry
2024-10-31 02:26:48,584 - DEBUG - Response for deleting network ()
2024-10-31 02:26:48,585 - INFO - Deleting VN ctest-vn-32618373
2024-10-31 02:26:48,695 - DEBUG - Response for deleting network ()
2024-10-31 02:26:48,948 - DEBUG - No XMPP flaps were noticed during the test
2024-10-31 02:26:48,948 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2024-10-31 02:26:48,948 - INFO - --------------------------------------------------------------------------------
2024-10-31 02:26:49,637 - INFO - Deleted project: ctest-TestRoutersBasic-80598848, ID : 470f2471-415f-405e-8b7e-346444733bd3