2024-10-25 17:56:01,628 - INFO - Domain Default found not creating
2024-10-25 17:56:01,836 - INFO - Project ctest-TestRoutersBasic-21442743 not found, creating it
2024-10-25 17:56:02,378 - INFO - Created Project:ctest-TestRoutersBasic-21442743, ID : 23a45318-8be6-4297-8140-1b43b8f5f776
2024-10-25 17:56:04,207 - INFO - ================================================================================
2024-10-25 17:56:04,207 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-25 17:56:04,207 - 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-25 17:56:04,469 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.11': '0'}} with
2024-10-25 17:56:04,470 - INFO - Initial checks done. Running the testcase now
2024-10-25 17:56:04,470 - INFO -
2024-10-25 17:56:05,268 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21442743
2024-10-25 17:56:05,389 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21442743
2024-10-25 17:56:05,753 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21442743', 'default']}
2024-10-25 17:56:06,123 - DEBUG - Response for create_network : {'network': {'id': '27ed87f3-9799-4c56-9c62-1191f9ca6eb6', 'name': 'ctest-vn-21439035', 'tenant_id': '23a453188be6429781401b43b8f5f776', 'project_id': '23a453188be6429781401b43b8f5f776', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21442743', 'ctest-vn-21439035'], 'port_security_enabled': True, 'description': ''}}
2024-10-25 17:56:06,332 - DEBUG - Response for create_subnet : {'subnet': {'id': '7190e2f0-f3a8-4388-89e7-5bf432eb743a', 'name': '', 'tenant_id': '23a453188be6429781401b43b8f5f776', 'network_id': '27ed87f3-9799-4c56-9c62-1191f9ca6eb6', 'ip_version': 4, 'cidr': '191.72.79.64/26', 'allocation_pools': [{'start': '191.72.79.66', 'end': '191.72.79.126'}], 'gateway_ip': '191.72.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.72.79.66', 'tags': [], 'project_id': '23a453188be6429781401b43b8f5f776'}}
2024-10-25 17:56:06,358 - INFO - Created VN ctest-vn-21439035
2024-10-25 17:56:06,421 - DEBUG - VN ctest-vn-21439035 UUID is 27ed87f3-9799-4c56-9c62-1191f9ca6eb6
2024-10-25 17:56:06,841 - DEBUG - Response for create_network : {'network': {'id': 'eff7c972-7936-4908-8e95-6e4accf44e74', 'name': 'ctest-ext_vn-54607166', 'tenant_id': '23a453188be6429781401b43b8f5f776', 'project_id': '23a453188be6429781401b43b8f5f776', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21442743', 'ctest-ext_vn-54607166'], 'port_security_enabled': True, 'description': ''}}
2024-10-25 17:56:07,056 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdc3667d-f509-4f65-b9a8-f9a74c76bcc7', 'name': '', 'tenant_id': '23a453188be6429781401b43b8f5f776', 'network_id': 'eff7c972-7936-4908-8e95-6e4accf44e74', 'ip_version': 4, 'cidr': '44.163.92.128/26', 'allocation_pools': [{'start': '44.163.92.130', 'end': '44.163.92.190'}], 'gateway_ip': '44.163.92.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.163.92.130', 'tags': [], 'project_id': '23a453188be6429781401b43b8f5f776'}}
2024-10-25 17:56:07,081 - INFO - Created VN ctest-ext_vn-54607166
2024-10-25 17:56:07,141 - DEBUG - VN ctest-ext_vn-54607166 UUID is eff7c972-7936-4908-8e95-6e4accf44e74
2024-10-25 17:56:07,368 - DEBUG - Services list from nova: [, , ]
2024-10-25 17:56:08,597 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2147-1)
2024-10-25 17:56:09,983 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2147-1)
2024-10-25 17:56:10,077 - INFO - Setting gateway for router b11e6c73-5adc-4c8e-b37c-0c9e0b0269c9 to network eff7c972-7936-4908-8e95-6e4accf44e74
2024-10-25 17:56:10,167 - INFO - Adding interface with subnet_id 7190e2f0-f3a8-4388-89e7-5bf432eb743a, port_id None to router b11e6c73-5adc-4c8e-b37c-0c9e0b0269c9
2024-10-25 17:56:10,598 - INFO - Waiting for VM ctest-TestRoutersBasic-21442743-41354639 to be up..
2024-10-25 17:56:10,827 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-25 17:56:15,931 - DEBUG - VM is in ACTIVE state now
2024-10-25 17:56:15,931 - INFO - VM name : ctest-TestRoutersBasic-21442743-41354639
2024-10-25 17:56:16,025 - DEBUG - VM ctest-TestRoutersBasic-21442743-41354639 ID is fde4847a-6fba-4021-9d98-1fb0fc53074e
2024-10-25 17:56:16,045 - DEBUG - VM ctest-TestRoutersBasic-21442743-41354639 launched on Node cn-jenkins-deploy-platform-ansible-os-2147-1
2024-10-25 17:56:16,142 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/fde4847a-6fba-4021-9d98-1fb0fc53074e
2024-10-25 17:56:16,560 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/fde4847a-6fba-4021-9d98-1fb0fc53074e
2024-10-25 17:56:16,603 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/539ffd61-8b62-42e9-9c16-2e1f3e36fb3e
2024-10-25 17:56:19,883 - 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 1021ms')
2024-10-25 17:56:19,883 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21442743-41354639 failed!
2024-10-25 17:56:19,945 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21442743:ctest-vn-21439035 is 191.72.79.65 and allocation pool is NOT set
2024-10-25 17:56:22,013 - 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=3.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.805 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.805/1.927/3.049/1.122 ms')
2024-10-25 17:56:22,014 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21442743-41354639 passed
2024-10-25 17:56:22,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-25 17:56:22,137 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21442743-41354639, IP 191.72.79.67, Port 22
2024-10-25 17:56:22,293 - DEBUG - VM ctest-TestRoutersBasic-21442743-41354639 is ready for SSH connections
2024-10-25 17:56:22,293 - INFO - Waiting for VM ctest-TestRoutersBasic-21442743-09160642 to be up..
2024-10-25 17:56:22,397 - DEBUG - VM is in ACTIVE state now
2024-10-25 17:56:22,397 - INFO - VM name : ctest-TestRoutersBasic-21442743-09160642
2024-10-25 17:56:22,515 - DEBUG - VM ctest-TestRoutersBasic-21442743-09160642 ID is 646c69a0-d179-4141-bcfc-27be6c05caf2
2024-10-25 17:56:22,515 - DEBUG - VM ctest-TestRoutersBasic-21442743-09160642 launched on Node cn-jenkins-deploy-platform-ansible-os-2147-1
2024-10-25 17:56:22,612 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/646c69a0-d179-4141-bcfc-27be6c05caf2
2024-10-25 17:56:22,623 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/8f3cda11-793b-46ce-9f86-acb557e0e1ed
2024-10-25 17:56:23,896 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.42 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 = 3.423/3.441/3.459/0.018 ms')
2024-10-25 17:56:23,896 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21442743-09160642 passed
2024-10-25 17:56:24,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-25 17:56:24,069 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21442743-09160642, IP 44.163.92.131, Port 22
2024-10-25 17:56:24,135 - 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': ''}
2024-10-25 17:56:24,237 - DEBUG - VM ctest-TestRoutersBasic-21442743-09160642 is NOT ready for SSH connections, VM status: ACTIVE
2024-10-25 17:56:29,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-25 17:56:29,238 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21442743-09160642, IP 44.163.92.131, Port 22
2024-10-25 17:56:29,416 - DEBUG - VM ctest-TestRoutersBasic-21442743-09160642 is ready for SSH connections
2024-10-25 17:56:29,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-25 17:56:29,416 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.163.92.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2024-10-25 17:56:29,416 - DEBUG - ping -s 56 -c 3 -W 1 44.163.92.131
2024-10-25 17:56:33,146 - DEBUG - PING 44.163.92.131 (44.163.92.131): 56 data bytes
64 bytes from 44.163.92.131: seq=0 ttl=62 time=7.651 ms
64 bytes from 44.163.92.131: seq=1 ttl=62 time=1.503 ms
64 bytes from 44.163.92.131: seq=2 ttl=62 time=0.995 ms
--- 44.163.92.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.995/3.383/7.651 ms
2024-10-25 17:56:33,146 - INFO - Ping to IP 44.163.92.131 from VM ctest-TestRoutersBasic-21442743-41354639 passed
2024-10-25 17:56:33,146 - INFO - Deleting interface with subnet_id 7190e2f0-f3a8-4388-89e7-5bf432eb743a, port_id None from router b11e6c73-5adc-4c8e-b37c-0c9e0b0269c9
2024-10-25 17:56:33,504 - INFO - Deleting VM ctest-TestRoutersBasic-21442743-09160642
2024-10-25 17:56:33,595 - INFO - Deleting VM ctest-TestRoutersBasic-21442743-41354639
2024-10-25 17:56:33,688 - INFO - Deleting VN ctest-ext_vn-54607166
2024-10-25 17:56:33,787 - DEBUG - VN eff7c972-7936-4908-8e95-6e4accf44e74 still in use: Unable to complete operation on network eff7c972-7936-4908-8e95-6e4accf44e74. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7864bf5a-a095-467f-97d7-fc9cf1cb9af0']
2024-10-25 17:56:33,787 - WARNING - Deleting VN ctest-ext_vn-54607166 failed..Will retry
2024-10-25 17:56:35,940 - DEBUG - Response for deleting network ()
2024-10-25 17:56:35,940 - INFO - Deleting VN ctest-vn-21439035
2024-10-25 17:56:36,090 - DEBUG - Response for deleting network ()
2024-10-25 17:56:36,369 - DEBUG - No XMPP flaps were noticed during the test
2024-10-25 17:56:36,369 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2024-10-25 17:56:36,369 - INFO - --------------------------------------------------------------------------------
2024-10-25 17:56:37,172 - INFO - Deleted project: ctest-TestRoutersBasic-21442743, ID : 23a45318-8be6-4297-8140-1b43b8f5f776