2025-02-20 02:23:04,965 - INFO - Domain Default found not creating
2025-02-20 02:23:05,121 - INFO - Project ctest-TestRoutersBasic-44118846 not found, creating it
2025-02-20 02:23:05,615 - INFO - Created Project:ctest-TestRoutersBasic-44118846, ID : b686b4b7-95c3-443c-9800-776e0a949f84
2025-02-20 02:23:07,117 - INFO - ================================================================================
2025-02-20 02:23:07,117 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-20 02:23:07,117 - 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
2025-02-20 02:23:07,372 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.18': '0'}} with
2025-02-20 02:23:07,372 - INFO - Initial checks done. Running the testcase now
2025-02-20 02:23:07,372 - INFO -
2025-02-20 02:23:08,078 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44118846
2025-02-20 02:23:08,178 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44118846
2025-02-20 02:23:08,506 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44118846', 'default']}
2025-02-20 02:23:08,839 - DEBUG - Response for create_network : {'network': {'id': 'e512d253-c9c3-4982-b91d-740df80f5d26', 'name': 'ctest-vn-75629513', 'tenant_id': 'b686b4b795c3443c9800776e0a949f84', 'project_id': 'b686b4b795c3443c9800776e0a949f84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44118846', 'ctest-vn-75629513'], 'port_security_enabled': True, 'description': ''}}
2025-02-20 02:23:09,072 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a202dc3-b688-462e-9583-aae40829ca9d', 'name': '', 'tenant_id': 'b686b4b795c3443c9800776e0a949f84', 'network_id': 'e512d253-c9c3-4982-b91d-740df80f5d26', 'ip_version': 4, 'cidr': '134.24.66.0/26', 'allocation_pools': [{'start': '134.24.66.2', 'end': '134.24.66.62'}], 'gateway_ip': '134.24.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.24.66.2', 'tags': [], 'project_id': 'b686b4b795c3443c9800776e0a949f84'}}
2025-02-20 02:23:09,092 - INFO - Created VN ctest-vn-75629513
2025-02-20 02:23:09,146 - DEBUG - VN ctest-vn-75629513 UUID is e512d253-c9c3-4982-b91d-740df80f5d26
2025-02-20 02:23:09,696 - DEBUG - Response for create_network : {'network': {'id': 'add6e3ef-8858-460a-b16e-9df94c22d976', 'name': 'ctest-ext_vn-27093227', 'tenant_id': 'b686b4b795c3443c9800776e0a949f84', 'project_id': 'b686b4b795c3443c9800776e0a949f84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44118846', 'ctest-ext_vn-27093227'], 'port_security_enabled': True, 'description': ''}}
2025-02-20 02:23:09,916 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9185590-9946-4c2f-8cc9-d74719ff0edd', 'name': '', 'tenant_id': 'b686b4b795c3443c9800776e0a949f84', 'network_id': 'add6e3ef-8858-460a-b16e-9df94c22d976', 'ip_version': 4, 'cidr': '78.103.220.192/26', 'allocation_pools': [{'start': '78.103.220.194', 'end': '78.103.220.254'}], 'gateway_ip': '78.103.220.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.103.220.194', 'tags': [], 'project_id': 'b686b4b795c3443c9800776e0a949f84'}}
2025-02-20 02:23:09,936 - INFO - Created VN ctest-ext_vn-27093227
2025-02-20 02:23:09,990 - DEBUG - VN ctest-ext_vn-27093227 UUID is add6e3ef-8858-460a-b16e-9df94c22d976
2025-02-20 02:23:10,169 - DEBUG - Services list from nova: [, , ]
2025-02-20 02:23:11,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2752-1)
2025-02-20 02:23:12,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2752-1)
2025-02-20 02:23:12,415 - INFO - Setting gateway for router a44dd65e-0fb0-4ee8-862f-c725636ec408 to network add6e3ef-8858-460a-b16e-9df94c22d976
2025-02-20 02:23:12,492 - INFO - Adding interface with subnet_id 2a202dc3-b688-462e-9583-aae40829ca9d, port_id None to router a44dd65e-0fb0-4ee8-862f-c725636ec408
2025-02-20 02:23:12,952 - INFO - Waiting for VM ctest-TestRoutersBasic-44118846-79550520 to be up..
2025-02-20 02:23:13,165 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-20 02:23:18,247 - DEBUG - VM is in ACTIVE state now
2025-02-20 02:23:18,248 - INFO - VM name : ctest-TestRoutersBasic-44118846-79550520
2025-02-20 02:23:18,326 - DEBUG - VM ctest-TestRoutersBasic-44118846-79550520 ID is eb1af94a-c2d2-49a1-9353-1b1fde8f9288
2025-02-20 02:23:18,347 - DEBUG - VM ctest-TestRoutersBasic-44118846-79550520 launched on Node cn-jenkins-deploy-platform-ansible-os-2752-1
2025-02-20 02:23:18,442 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/eb1af94a-c2d2-49a1-9353-1b1fde8f9288
2025-02-20 02:23:18,735 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/eb1af94a-c2d2-49a1-9353-1b1fde8f9288
2025-02-20 02:23:18,766 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/957a122a-8b77-4ab2-8490-28a89a678925
2025-02-20 02:23:22,037 - 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 1026ms')
2025-02-20 02:23:22,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44118846-79550520 failed!
2025-02-20 02:23:22,090 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44118846:ctest-vn-75629513 is 134.24.66.1 and allocation pool is NOT set
2025-02-20 02:23:24,153 - 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=4.62 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 1002ms\r\nrtt min/avg/max/mdev = 0.855/2.739/4.624/1.884 ms')
2025-02-20 02:23:24,153 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44118846-79550520 passed
2025-02-20 02:23:24,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-20 02:23:24,335 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44118846-79550520, IP 134.24.66.3, Port 22
2025-02-20 02:23:24,513 - DEBUG - VM ctest-TestRoutersBasic-44118846-79550520 is ready for SSH connections
2025-02-20 02:23:24,513 - INFO - Waiting for VM ctest-TestRoutersBasic-44118846-87374696 to be up..
2025-02-20 02:23:24,625 - DEBUG - VM is in ACTIVE state now
2025-02-20 02:23:24,625 - INFO - VM name : ctest-TestRoutersBasic-44118846-87374696
2025-02-20 02:23:24,700 - DEBUG - VM ctest-TestRoutersBasic-44118846-87374696 ID is 9e82c0d7-bd50-4195-9de5-829c65ad1d25
2025-02-20 02:23:24,700 - DEBUG - VM ctest-TestRoutersBasic-44118846-87374696 launched on Node cn-jenkins-deploy-platform-ansible-os-2752-1
2025-02-20 02:23:24,784 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/9e82c0d7-bd50-4195-9de5-829c65ad1d25
2025-02-20 02:23:24,794 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/2e4739e7-08d8-4ba7-85c3-eefac811ad89
2025-02-20 02:23:26,041 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.37 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 = 1.374/2.979/4.585/1.605 ms')
2025-02-20 02:23:26,041 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44118846-87374696 passed
2025-02-20 02:23:26,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-20 02:23:26,195 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44118846-87374696, IP 78.103.220.195, Port 22
2025-02-20 02:23:26,260 - 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': ''}
2025-02-20 02:23:26,348 - DEBUG - VM ctest-TestRoutersBasic-44118846-87374696 is NOT ready for SSH connections, VM status: ACTIVE
2025-02-20 02:23:31,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-20 02:23:31,349 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44118846-87374696, IP 78.103.220.195, Port 22
2025-02-20 02:23:31,522 - DEBUG - VM ctest-TestRoutersBasic-44118846-87374696 is ready for SSH connections
2025-02-20 02:23:31,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-20 02:23:31,522 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.103.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2025-02-20 02:23:31,522 - DEBUG - ping -s 56 -c 3 -W 1 78.103.220.195
2025-02-20 02:23:35,528 - DEBUG - PING 78.103.220.195 (78.103.220.195): 56 data bytes
64 bytes from 78.103.220.195: seq=0 ttl=62 time=7.386 ms
64 bytes from 78.103.220.195: seq=1 ttl=62 time=0.790 ms
64 bytes from 78.103.220.195: seq=2 ttl=62 time=0.860 ms
--- 78.103.220.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.790/3.012/7.386 ms
2025-02-20 02:23:35,528 - INFO - Ping to IP 78.103.220.195 from VM ctest-TestRoutersBasic-44118846-79550520 passed
2025-02-20 02:23:35,528 - INFO - Deleting interface with subnet_id 2a202dc3-b688-462e-9583-aae40829ca9d, port_id None from router a44dd65e-0fb0-4ee8-862f-c725636ec408
2025-02-20 02:23:35,738 - INFO - Deleting VM ctest-TestRoutersBasic-44118846-87374696
2025-02-20 02:23:35,810 - INFO - Deleting VM ctest-TestRoutersBasic-44118846-79550520
2025-02-20 02:23:35,896 - INFO - Deleting VN ctest-ext_vn-27093227
2025-02-20 02:23:35,984 - DEBUG - VN add6e3ef-8858-460a-b16e-9df94c22d976 still in use: Unable to complete operation on network add6e3ef-8858-460a-b16e-9df94c22d976. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-38464374-b178-407a-a900-3bde78846862']
2025-02-20 02:23:35,985 - WARNING - Deleting VN ctest-ext_vn-27093227 failed..Will retry
2025-02-20 02:23:38,100 - DEBUG - Response for deleting network ()
2025-02-20 02:23:38,101 - INFO - Deleting VN ctest-vn-75629513
2025-02-20 02:23:38,220 - DEBUG - Response for deleting network ()
2025-02-20 02:23:38,477 - DEBUG - No XMPP flaps were noticed during the test
2025-02-20 02:23:38,477 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-02-20 02:23:38,477 - INFO - --------------------------------------------------------------------------------
2025-02-20 02:23:39,150 - INFO - Deleted project: ctest-TestRoutersBasic-44118846, ID : b686b4b7-95c3-443c-9800-776e0a949f84