2025-02-05 12:19:18,678 - INFO - Domain Default found not creating
2025-02-05 12:19:18,824 - INFO - Project ctest-TestRoutersBasic-10109343 not found, creating it
2025-02-05 12:19:19,293 - INFO - Created Project:ctest-TestRoutersBasic-10109343, ID : f9c57c80-29b3-4441-8ab0-0a285b0ed4d6
2025-02-05 12:19:20,731 - INFO - ================================================================================
2025-02-05 12:19:20,731 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-05 12:19:20,731 - 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-05 12:19:20,989 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.22': '0'}} with
2025-02-05 12:19:20,989 - INFO - Initial checks done. Running the testcase now
2025-02-05 12:19:20,989 - INFO -
2025-02-05 12:19:21,702 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10109343
2025-02-05 12:19:21,807 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10109343
2025-02-05 12:19:22,135 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10109343', 'default']}
2025-02-05 12:19:22,447 - DEBUG - Response for create_network : {'network': {'id': 'af4fc5f2-563c-4408-9e13-81eb1524157b', 'name': 'ctest-vn-71922157', 'tenant_id': 'f9c57c8029b344418ab00a285b0ed4d6', 'project_id': 'f9c57c8029b344418ab00a285b0ed4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10109343', 'ctest-vn-71922157'], 'port_security_enabled': True, 'description': ''}}
2025-02-05 12:19:22,645 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b879327f-b44f-4319-8429-755a1e9a024a', 'name': '', 'tenant_id': 'f9c57c8029b344418ab00a285b0ed4d6', 'network_id': 'af4fc5f2-563c-4408-9e13-81eb1524157b', 'ip_version': 4, 'cidr': '167.164.154.192/26', 'allocation_pools': [{'start': '167.164.154.194', 'end': '167.164.154.254'}], 'gateway_ip': '167.164.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.164.154.194', 'tags': [], 'project_id': 'f9c57c8029b344418ab00a285b0ed4d6'}}
2025-02-05 12:19:22,667 - INFO - Created VN ctest-vn-71922157
2025-02-05 12:19:22,723 - DEBUG - VN ctest-vn-71922157 UUID is af4fc5f2-563c-4408-9e13-81eb1524157b
2025-02-05 12:19:23,058 - DEBUG - Response for create_network : {'network': {'id': 'a8fe01fa-a91d-434c-b7b6-456672ba9246', 'name': 'ctest-ext_vn-42650805', 'tenant_id': 'f9c57c8029b344418ab00a285b0ed4d6', 'project_id': 'f9c57c8029b344418ab00a285b0ed4d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10109343', 'ctest-ext_vn-42650805'], 'port_security_enabled': True, 'description': ''}}
2025-02-05 12:19:23,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '45bd1808-e71b-4487-815f-fc436b81a766', 'name': '', 'tenant_id': 'f9c57c8029b344418ab00a285b0ed4d6', 'network_id': 'a8fe01fa-a91d-434c-b7b6-456672ba9246', 'ip_version': 4, 'cidr': '34.98.151.192/26', 'allocation_pools': [{'start': '34.98.151.194', 'end': '34.98.151.254'}], 'gateway_ip': '34.98.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.98.151.194', 'tags': [], 'project_id': 'f9c57c8029b344418ab00a285b0ed4d6'}}
2025-02-05 12:19:23,270 - INFO - Created VN ctest-ext_vn-42650805
2025-02-05 12:19:23,327 - DEBUG - VN ctest-ext_vn-42650805 UUID is a8fe01fa-a91d-434c-b7b6-456672ba9246
2025-02-05 12:19:23,535 - DEBUG - Services list from nova: [, , ]
2025-02-05 12:19:24,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2691-1)
2025-02-05 12:19:25,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2691-1)
2025-02-05 12:19:25,724 - INFO - Setting gateway for router 85ab53c3-220d-4615-b390-3cbefd652584 to network a8fe01fa-a91d-434c-b7b6-456672ba9246
2025-02-05 12:19:25,789 - INFO - Adding interface with subnet_id b879327f-b44f-4319-8429-755a1e9a024a, port_id None to router 85ab53c3-220d-4615-b390-3cbefd652584
2025-02-05 12:19:26,218 - INFO - Waiting for VM ctest-TestRoutersBasic-10109343-85723166 to be up..
2025-02-05 12:19:26,401 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-05 12:19:31,489 - DEBUG - VM is in ACTIVE state now
2025-02-05 12:19:31,489 - INFO - VM name : ctest-TestRoutersBasic-10109343-85723166
2025-02-05 12:19:31,575 - DEBUG - VM ctest-TestRoutersBasic-10109343-85723166 ID is 7b885c54-7681-4156-bf64-e928f3a88639
2025-02-05 12:19:31,601 - DEBUG - VM ctest-TestRoutersBasic-10109343-85723166 launched on Node cn-jenkins-deploy-platform-ansible-os-2691-1
2025-02-05 12:19:31,698 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/7b885c54-7681-4156-bf64-e928f3a88639
2025-02-05 12:19:31,999 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/7b885c54-7681-4156-bf64-e928f3a88639
2025-02-05 12:19:32,034 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/823e6203-2ad7-4508-9f2c-8cb47c67fbe7
2025-02-05 12:19:35,288 - 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 1011ms')
2025-02-05 12:19:35,288 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10109343-85723166 failed!
2025-02-05 12:19:35,347 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10109343:ctest-vn-71922157 is 167.164.154.193 and allocation pool is NOT set
2025-02-05 12:19:37,412 - 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=2.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/1.666/2.908/1.242 ms')
2025-02-05 12:19:37,413 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10109343-85723166 passed
2025-02-05 12:19:37,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-05 12:19:37,523 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10109343-85723166, IP 167.164.154.195, Port 22
2025-02-05 12:19:37,674 - DEBUG - VM ctest-TestRoutersBasic-10109343-85723166 is ready for SSH connections
2025-02-05 12:19:37,674 - INFO - Waiting for VM ctest-TestRoutersBasic-10109343-41486196 to be up..
2025-02-05 12:19:37,760 - DEBUG - VM is in ACTIVE state now
2025-02-05 12:19:37,760 - INFO - VM name : ctest-TestRoutersBasic-10109343-41486196
2025-02-05 12:19:37,834 - DEBUG - VM ctest-TestRoutersBasic-10109343-41486196 ID is f2582980-4b10-47b9-befa-19970c3bb733
2025-02-05 12:19:37,835 - DEBUG - VM ctest-TestRoutersBasic-10109343-41486196 launched on Node cn-jenkins-deploy-platform-ansible-os-2691-1
2025-02-05 12:19:37,911 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/f2582980-4b10-47b9-befa-19970c3bb733
2025-02-05 12:19:37,922 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/5569ce56-899d-46ab-8ef2-154ab8ec2890
2025-02-05 12:19:39,163 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.747/3.102/1.355 ms')
2025-02-05 12:19:39,164 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-10109343-41486196 passed
2025-02-05 12:19:39,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-05 12:19:39,315 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10109343-41486196, IP 34.98.151.195, Port 22
2025-02-05 12:19:39,475 - DEBUG - VM ctest-TestRoutersBasic-10109343-41486196 is ready for SSH connections
2025-02-05 12:19:39,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-05 12:19:39,475 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.98.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123
2025-02-05 12:19:39,475 - DEBUG - ping -s 56 -c 3 -W 1 34.98.151.195
2025-02-05 12:19:43,484 - DEBUG - PING 34.98.151.195 (34.98.151.195): 56 data bytes
64 bytes from 34.98.151.195: seq=0 ttl=62 time=6.407 ms
64 bytes from 34.98.151.195: seq=1 ttl=62 time=1.408 ms
64 bytes from 34.98.151.195: seq=2 ttl=62 time=0.892 ms
--- 34.98.151.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.892/2.902/6.407 ms
2025-02-05 12:19:43,484 - INFO - Ping to IP 34.98.151.195 from VM ctest-TestRoutersBasic-10109343-85723166 passed
2025-02-05 12:19:43,484 - INFO - Deleting interface with subnet_id b879327f-b44f-4319-8429-755a1e9a024a, port_id None from router 85ab53c3-220d-4615-b390-3cbefd652584
2025-02-05 12:19:43,696 - INFO - Deleting VM ctest-TestRoutersBasic-10109343-41486196
2025-02-05 12:19:43,770 - INFO - Deleting VM ctest-TestRoutersBasic-10109343-85723166
2025-02-05 12:19:43,844 - INFO - Deleting VN ctest-ext_vn-42650805
2025-02-05 12:19:43,911 - DEBUG - VN a8fe01fa-a91d-434c-b7b6-456672ba9246 still in use: Unable to complete operation on network a8fe01fa-a91d-434c-b7b6-456672ba9246. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-097151b2-0ab4-4197-a979-9fb1640149ab']
2025-02-05 12:19:43,911 - WARNING - Deleting VN ctest-ext_vn-42650805 failed..Will retry
2025-02-05 12:19:46,016 - DEBUG - Response for deleting network ()
2025-02-05 12:19:46,016 - INFO - Deleting VN ctest-vn-71922157
2025-02-05 12:19:46,117 - DEBUG - Response for deleting network ()
2025-02-05 12:19:46,373 - DEBUG - No XMPP flaps were noticed during the test
2025-02-05 12:19:46,373 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-05 12:19:46,373 - INFO - --------------------------------------------------------------------------------
2025-02-05 12:19:47,146 - INFO - Deleted project: ctest-TestRoutersBasic-10109343, ID : f9c57c80-29b3-4441-8ab0-0a285b0ed4d6