2024-10-19 09:25:22,333 - INFO - Domain Default found not creating
2024-10-19 09:25:22,540 - INFO - Project ctest-TestRoutersBasic-15240159 not found, creating it
2024-10-19 09:25:23,065 - INFO - Created Project:ctest-TestRoutersBasic-15240159, ID : 301afe1c-2417-4102-a6ae-f1d415ab06e5
2024-10-19 09:25:25,903 - INFO - ================================================================================
2024-10-19 09:25:25,903 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-19 09:25:25,903 - 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-19 09:25:26,175 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.20': '0'}} with
2024-10-19 09:25:26,175 - INFO - Initial checks done. Running the testcase now
2024-10-19 09:25:26,175 - INFO -
2024-10-19 09:25:27,041 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15240159
2024-10-19 09:25:27,150 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15240159
2024-10-19 09:25:27,506 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15240159', 'default']}
2024-10-19 09:25:27,866 - DEBUG - Response for create_network : {'network': {'id': '58f4df72-5792-42bb-8937-05571c6b0363', 'name': 'ctest-vn-33592423', 'tenant_id': '301afe1c24174102a6aef1d415ab06e5', 'project_id': '301afe1c24174102a6aef1d415ab06e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15240159', 'ctest-vn-33592423'], 'port_security_enabled': True, 'description': ''}}
2024-10-19 09:25:28,092 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd194016c-a375-43f0-a9d6-41a99ebea440', 'name': '', 'tenant_id': '301afe1c24174102a6aef1d415ab06e5', 'network_id': '58f4df72-5792-42bb-8937-05571c6b0363', 'ip_version': 4, 'cidr': '63.89.65.0/26', 'allocation_pools': [{'start': '63.89.65.2', 'end': '63.89.65.62'}], 'gateway_ip': '63.89.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.89.65.2', 'tags': [], 'project_id': '301afe1c24174102a6aef1d415ab06e5'}}
2024-10-19 09:25:28,134 - INFO - Created VN ctest-vn-33592423
2024-10-19 09:25:28,198 - DEBUG - VN ctest-vn-33592423 UUID is 58f4df72-5792-42bb-8937-05571c6b0363
2024-10-19 09:25:28,664 - DEBUG - Response for create_network : {'network': {'id': 'b84ff435-3e10-4bdf-a96d-abe4b8c05c17', 'name': 'ctest-ext_vn-44990372', 'tenant_id': '301afe1c24174102a6aef1d415ab06e5', 'project_id': '301afe1c24174102a6aef1d415ab06e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15240159', 'ctest-ext_vn-44990372'], 'port_security_enabled': True, 'description': ''}}
2024-10-19 09:25:29,818 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b45e265-57a7-4107-b390-7f5e99298cbf', 'name': '', 'tenant_id': '301afe1c24174102a6aef1d415ab06e5', 'network_id': 'b84ff435-3e10-4bdf-a96d-abe4b8c05c17', 'ip_version': 4, 'cidr': '141.162.93.128/26', 'allocation_pools': [{'start': '141.162.93.130', 'end': '141.162.93.190'}], 'gateway_ip': '141.162.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.162.93.130', 'tags': [], 'project_id': '301afe1c24174102a6aef1d415ab06e5'}}
2024-10-19 09:25:29,842 - INFO - Created VN ctest-ext_vn-44990372
2024-10-19 09:25:29,902 - DEBUG - VN ctest-ext_vn-44990372 UUID is b84ff435-3e10-4bdf-a96d-abe4b8c05c17
2024-10-19 09:25:30,119 - DEBUG - Services list from nova: [, , ]
2024-10-19 09:25:31,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2116-1)
2024-10-19 09:25:32,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2116-1)
2024-10-19 09:25:33,782 - INFO - Setting gateway for router 8e9b0c83-c8c1-4013-a256-6a3271ec4e5d to network b84ff435-3e10-4bdf-a96d-abe4b8c05c17
2024-10-19 09:25:33,881 - INFO - Adding interface with subnet_id d194016c-a375-43f0-a9d6-41a99ebea440, port_id None to router 8e9b0c83-c8c1-4013-a256-6a3271ec4e5d
2024-10-19 09:25:34,274 - INFO - Waiting for VM ctest-TestRoutersBasic-15240159-68716372 to be up..
2024-10-19 09:25:34,496 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-19 09:25:39,602 - DEBUG - VM is in ACTIVE state now
2024-10-19 09:25:39,602 - INFO - VM name : ctest-TestRoutersBasic-15240159-68716372
2024-10-19 09:25:39,704 - DEBUG - VM ctest-TestRoutersBasic-15240159-68716372 ID is e727cf86-b77d-40bc-9623-1f45ecb9800a
2024-10-19 09:25:39,728 - DEBUG - VM ctest-TestRoutersBasic-15240159-68716372 launched on Node cn-jenkins-deploy-platform-ansible-os-2116-1
2024-10-19 09:25:39,843 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e727cf86-b77d-40bc-9623-1f45ecb9800a
2024-10-19 09:25:40,196 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e727cf86-b77d-40bc-9623-1f45ecb9800a
2024-10-19 09:25:40,243 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/63670845-e3c5-43b7-9d1c-78ee6072fb20
2024-10-19 09:25:43,530 - 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 1005ms')
2024-10-19 09:25:43,530 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15240159-68716372 failed!
2024-10-19 09:25:43,638 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15240159:ctest-vn-33592423 is 63.89.65.1 and allocation pool is NOT set
2024-10-19 09:25:45,711 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.855 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.855/3.264/5.674/2.409 ms')
2024-10-19 09:25:45,711 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15240159-68716372 passed
2024-10-19 09:25:45,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 09:25:45,906 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15240159-68716372, IP 63.89.65.3, Port 22
2024-10-19 09:25:45,972 - 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-19 09:25:46,080 - DEBUG - VM ctest-TestRoutersBasic-15240159-68716372 is NOT ready for SSH connections, VM status: ACTIVE
2024-10-19 09:25:51,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 09:25:51,082 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15240159-68716372, IP 63.89.65.3, Port 22
2024-10-19 09:25:51,267 - DEBUG - VM ctest-TestRoutersBasic-15240159-68716372 is ready for SSH connections
2024-10-19 09:25:51,268 - INFO - Waiting for VM ctest-TestRoutersBasic-15240159-07371029 to be up..
2024-10-19 09:25:51,364 - DEBUG - VM is in ACTIVE state now
2024-10-19 09:25:51,364 - INFO - VM name : ctest-TestRoutersBasic-15240159-07371029
2024-10-19 09:25:51,455 - DEBUG - VM ctest-TestRoutersBasic-15240159-07371029 ID is 0cf82e2c-4aa2-4e8b-845e-242d4c4cf6b0
2024-10-19 09:25:51,455 - DEBUG - VM ctest-TestRoutersBasic-15240159-07371029 launched on Node cn-jenkins-deploy-platform-ansible-os-2116-1
2024-10-19 09:25:51,565 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/0cf82e2c-4aa2-4e8b-845e-242d4c4cf6b0
2024-10-19 09:25:51,583 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/65c97037-de07-4dc8-a3ef-a85cabc46762
2024-10-19 09:25:52,864 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.545 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.545/2.309/4.074/1.764 ms')
2024-10-19 09:25:52,864 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15240159-07371029 passed
2024-10-19 09:25:53,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 09:25:53,026 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15240159-07371029, IP 141.162.93.131, Port 22
2024-10-19 09:25:53,196 - DEBUG - VM ctest-TestRoutersBasic-15240159-07371029 is ready for SSH connections
2024-10-19 09:25:53,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-19 09:25:53,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.162.93.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2024-10-19 09:25:53,197 - DEBUG - ping -s 56 -c 3 -W 1 141.162.93.131
2024-10-19 09:25:56,970 - DEBUG - PING 141.162.93.131 (141.162.93.131): 56 data bytes
64 bytes from 141.162.93.131: seq=0 ttl=62 time=8.764 ms
64 bytes from 141.162.93.131: seq=1 ttl=62 time=1.214 ms
64 bytes from 141.162.93.131: seq=2 ttl=62 time=1.268 ms
--- 141.162.93.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.214/3.748/8.764 ms
2024-10-19 09:25:56,970 - INFO - Ping to IP 141.162.93.131 from VM ctest-TestRoutersBasic-15240159-68716372 passed
2024-10-19 09:25:56,970 - INFO - Deleting interface with subnet_id d194016c-a375-43f0-a9d6-41a99ebea440, port_id None from router 8e9b0c83-c8c1-4013-a256-6a3271ec4e5d
2024-10-19 09:25:57,254 - INFO - Deleting VM ctest-TestRoutersBasic-15240159-07371029
2024-10-19 09:25:57,344 - INFO - Deleting VM ctest-TestRoutersBasic-15240159-68716372
2024-10-19 09:25:57,455 - INFO - Deleting VN ctest-ext_vn-44990372
2024-10-19 09:25:57,541 - DEBUG - VN b84ff435-3e10-4bdf-a96d-abe4b8c05c17 still in use: Unable to complete operation on network b84ff435-3e10-4bdf-a96d-abe4b8c05c17. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-161a69fc-1607-4c78-84a1-93f773ed94a7']
2024-10-19 09:25:57,542 - WARNING - Deleting VN ctest-ext_vn-44990372 failed..Will retry
2024-10-19 09:25:59,685 - DEBUG - Response for deleting network ()
2024-10-19 09:25:59,685 - INFO - Deleting VN ctest-vn-33592423
2024-10-19 09:25:59,827 - DEBUG - Response for deleting network ()
2024-10-19 09:26:00,099 - DEBUG - No XMPP flaps were noticed during the test
2024-10-19 09:26:00,099 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35]
2024-10-19 09:26:00,100 - INFO - --------------------------------------------------------------------------------
2024-10-19 09:26:01,144 - INFO - Deleted project: ctest-TestRoutersBasic-15240159, ID : 301afe1c-2417-4102-a6ae-f1d415ab06e5