2024-11-10 13:17:43,126 - INFO - Domain Default found not creating
2024-11-10 13:17:43,337 - INFO - Project ctest-TestRoutersBasic-46512519 not found, creating it
2024-11-10 13:17:43,900 - INFO - Created Project:ctest-TestRoutersBasic-46512519, ID : c521e89f-d1f6-43ff-a3f2-67c2dfd26102
2024-11-10 13:17:45,684 - INFO - ================================================================================
2024-11-10 13:17:45,685 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-10 13:17:45,685 - 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-11-10 13:17:45,951 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.8': '0'}} with
2024-11-10 13:17:45,951 - INFO - Initial checks done. Running the testcase now
2024-11-10 13:17:45,951 - INFO -
2024-11-10 13:17:46,736 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46512519
2024-11-10 13:17:46,848 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46512519
2024-11-10 13:17:47,260 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46512519', 'default']}
2024-11-10 13:17:47,612 - DEBUG - Response for create_network : {'network': {'id': '4bc2300a-fa82-4f4e-811e-8fe051aa96f6', 'name': 'ctest-vn-65314044', 'tenant_id': 'c521e89fd1f643ffa3f267c2dfd26102', 'project_id': 'c521e89fd1f643ffa3f267c2dfd26102', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46512519', 'ctest-vn-65314044'], 'port_security_enabled': True, 'description': ''}}
2024-11-10 13:17:47,825 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f5ac281-a506-49f6-80fa-9f73037bb021', 'name': '', 'tenant_id': 'c521e89fd1f643ffa3f267c2dfd26102', 'network_id': '4bc2300a-fa82-4f4e-811e-8fe051aa96f6', 'ip_version': 4, 'cidr': '70.139.28.128/26', 'allocation_pools': [{'start': '70.139.28.130', 'end': '70.139.28.190'}], 'gateway_ip': '70.139.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.139.28.130', 'tags': [], 'project_id': 'c521e89fd1f643ffa3f267c2dfd26102'}}
2024-11-10 13:17:47,849 - INFO - Created VN ctest-vn-65314044
2024-11-10 13:17:47,908 - DEBUG - VN ctest-vn-65314044 UUID is 4bc2300a-fa82-4f4e-811e-8fe051aa96f6
2024-11-10 13:17:48,311 - DEBUG - Response for create_network : {'network': {'id': '000da09d-be91-468b-a469-c93428a2f97b', 'name': 'ctest-ext_vn-97932677', 'tenant_id': 'c521e89fd1f643ffa3f267c2dfd26102', 'project_id': 'c521e89fd1f643ffa3f267c2dfd26102', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46512519', 'ctest-ext_vn-97932677'], 'port_security_enabled': True, 'description': ''}}
2024-11-10 13:17:48,519 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d8deadb-31a2-482c-9ced-256a4194b7cb', 'name': '', 'tenant_id': 'c521e89fd1f643ffa3f267c2dfd26102', 'network_id': '000da09d-be91-468b-a469-c93428a2f97b', 'ip_version': 4, 'cidr': '124.188.2.192/26', 'allocation_pools': [{'start': '124.188.2.194', 'end': '124.188.2.254'}], 'gateway_ip': '124.188.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.188.2.194', 'tags': [], 'project_id': 'c521e89fd1f643ffa3f267c2dfd26102'}}
2024-11-10 13:17:48,545 - INFO - Created VN ctest-ext_vn-97932677
2024-11-10 13:17:48,608 - DEBUG - VN ctest-ext_vn-97932677 UUID is 000da09d-be91-468b-a469-c93428a2f97b
2024-11-10 13:17:48,806 - DEBUG - Services list from nova: [, , ]
2024-11-10 13:17:50,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2249-1)
2024-11-10 13:17:51,368 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2249-1)
2024-11-10 13:17:51,473 - INFO - Setting gateway for router 405c560e-0ed4-4676-90e1-f0980c9738e6 to network 000da09d-be91-468b-a469-c93428a2f97b
2024-11-10 13:17:51,561 - INFO - Adding interface with subnet_id 7f5ac281-a506-49f6-80fa-9f73037bb021, port_id None to router 405c560e-0ed4-4676-90e1-f0980c9738e6
2024-11-10 13:17:52,178 - INFO - Waiting for VM ctest-TestRoutersBasic-46512519-05975499 to be up..
2024-11-10 13:17:52,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-10 13:17:57,534 - DEBUG - VM is in ACTIVE state now
2024-11-10 13:17:57,534 - INFO - VM name : ctest-TestRoutersBasic-46512519-05975499
2024-11-10 13:17:57,653 - DEBUG - VM ctest-TestRoutersBasic-46512519-05975499 ID is 7853460d-917e-48dc-b1a7-a7fd7696edee
2024-11-10 13:17:57,684 - DEBUG - VM ctest-TestRoutersBasic-46512519-05975499 launched on Node cn-jenkins-deploy-platform-ansible-os-2249-1
2024-11-10 13:17:57,802 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7853460d-917e-48dc-b1a7-a7fd7696edee
2024-11-10 13:17:58,254 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7853460d-917e-48dc-b1a7-a7fd7696edee
2024-11-10 13:17:58,297 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a09f5bfe-6ea6-43a8-9fd4-cee4f56c323a
2024-11-10 13:18:01,582 - 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-11-10 13:18:01,582 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46512519-05975499 failed!
2024-11-10 13:18:01,644 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46512519:ctest-vn-65314044 is 70.139.28.129 and allocation pool is NOT set
2024-11-10 13:18:03,710 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.714 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.714/3.044/5.374/2.330 ms')
2024-11-10 13:18:03,710 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46512519-05975499 passed
2024-11-10 13:18:03,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 13:18:03,872 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46512519-05975499, IP 70.139.28.131, Port 22
2024-11-10 13:18:03,938 - 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-11-10 13:18:04,052 - DEBUG - VM ctest-TestRoutersBasic-46512519-05975499 is NOT ready for SSH connections, VM status: ACTIVE
2024-11-10 13:18:09,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 13:18:09,053 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46512519-05975499, IP 70.139.28.131, Port 22
2024-11-10 13:18:09,211 - DEBUG - VM ctest-TestRoutersBasic-46512519-05975499 is ready for SSH connections
2024-11-10 13:18:09,211 - INFO - Waiting for VM ctest-TestRoutersBasic-46512519-19678871 to be up..
2024-11-10 13:18:09,316 - DEBUG - VM is in ACTIVE state now
2024-11-10 13:18:09,317 - INFO - VM name : ctest-TestRoutersBasic-46512519-19678871
2024-11-10 13:18:09,427 - DEBUG - VM ctest-TestRoutersBasic-46512519-19678871 ID is 1d4ddc61-096a-46dd-8be5-c5c6a4fcc2cc
2024-11-10 13:18:09,427 - DEBUG - VM ctest-TestRoutersBasic-46512519-19678871 launched on Node cn-jenkins-deploy-platform-ansible-os-2249-1
2024-11-10 13:18:09,517 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1d4ddc61-096a-46dd-8be5-c5c6a4fcc2cc
2024-11-10 13:18:09,530 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e3db2010-699c-4331-9bbc-da40b935aebb
2024-11-10 13:18:10,790 - 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=3.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.541 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.541/2.188/3.835/1.647 ms')
2024-11-10 13:18:10,790 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46512519-19678871 passed
2024-11-10 13:18:10,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 13:18:10,952 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46512519-19678871, IP 124.188.2.195, Port 22
2024-11-10 13:18:11,108 - DEBUG - VM ctest-TestRoutersBasic-46512519-19678871 is ready for SSH connections
2024-11-10 13:18:11,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-10 13:18:11,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.188.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2024-11-10 13:18:11,108 - DEBUG - ping -s 56 -c 3 -W 1 124.188.2.195
2024-11-10 13:18:15,182 - DEBUG - PING 124.188.2.195 (124.188.2.195): 56 data bytes
64 bytes from 124.188.2.195: seq=0 ttl=62 time=5.628 ms
64 bytes from 124.188.2.195: seq=1 ttl=62 time=1.160 ms
64 bytes from 124.188.2.195: seq=2 ttl=62 time=1.320 ms
--- 124.188.2.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.160/2.702/5.628 ms
2024-11-10 13:18:15,182 - INFO - Ping to IP 124.188.2.195 from VM ctest-TestRoutersBasic-46512519-05975499 passed
2024-11-10 13:18:15,183 - INFO - Deleting interface with subnet_id 7f5ac281-a506-49f6-80fa-9f73037bb021, port_id None from router 405c560e-0ed4-4676-90e1-f0980c9738e6
2024-11-10 13:18:15,463 - INFO - Deleting VM ctest-TestRoutersBasic-46512519-19678871
2024-11-10 13:18:15,565 - INFO - Deleting VM ctest-TestRoutersBasic-46512519-05975499
2024-11-10 13:18:15,657 - INFO - Deleting VN ctest-ext_vn-97932677
2024-11-10 13:18:15,751 - DEBUG - VN 000da09d-be91-468b-a469-c93428a2f97b still in use: Unable to complete operation on network 000da09d-be91-468b-a469-c93428a2f97b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-31596c29-19b9-482f-a7c3-306e0ccea5fc']
2024-11-10 13:18:15,751 - WARNING - Deleting VN ctest-ext_vn-97932677 failed..Will retry
2024-11-10 13:18:17,867 - DEBUG - Response for deleting network ()
2024-11-10 13:18:17,867 - INFO - Deleting VN ctest-vn-65314044
2024-11-10 13:18:18,008 - DEBUG - Response for deleting network ()
2024-11-10 13:18:18,268 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 13:18:18,268 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2024-11-10 13:18:18,268 - INFO - --------------------------------------------------------------------------------
2024-11-10 13:18:19,338 - INFO - Deleted project: ctest-TestRoutersBasic-46512519, ID : c521e89f-d1f6-43ff-a3f2-67c2dfd26102