2025-04-14 19:47:55,086 - INFO - Domain Default found not creating
2025-04-14 19:47:55,222 - INFO - Project ctest-TestRoutersBasic-87169886 not found, creating it
2025-04-14 19:47:55,694 - INFO - Created Project:ctest-TestRoutersBasic-87169886, ID : ade2c969-4dda-4b82-abc0-ca72e8ced057
2025-04-14 19:47:57,097 - INFO - ================================================================================
2025-04-14 19:47:57,097 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-14 19:47:57,098 - 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-04-14 19:47:57,358 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-04-14 19:47:57,358 - INFO - Initial checks done. Running the testcase now
2025-04-14 19:47:57,358 - INFO -
2025-04-14 19:47:58,048 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87169886
2025-04-14 19:47:58,144 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87169886
2025-04-14 19:47:58,464 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87169886', 'default']}
2025-04-14 19:47:58,897 - DEBUG - Response for create_network : {'network': {'id': '0cb085ca-9047-4c50-b1fe-729995c0d96f', 'name': 'ctest-vn-76003761', 'tenant_id': 'ade2c9694dda4b82abc0ca72e8ced057', 'project_id': 'ade2c9694dda4b82abc0ca72e8ced057', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87169886', 'ctest-vn-76003761'], 'port_security_enabled': True, 'description': ''}}
2025-04-14 19:47:59,056 - DEBUG - Response for create_subnet : {'subnet': {'id': '0329f16c-4f1b-43ed-a87f-5d0060f7c1ca', 'name': '', 'tenant_id': 'ade2c9694dda4b82abc0ca72e8ced057', 'network_id': '0cb085ca-9047-4c50-b1fe-729995c0d96f', 'ip_version': 4, 'cidr': '82.146.30.64/26', 'allocation_pools': [{'start': '82.146.30.66', 'end': '82.146.30.126'}], 'gateway_ip': '82.146.30.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.146.30.66', 'tags': [], 'project_id': 'ade2c9694dda4b82abc0ca72e8ced057'}}
2025-04-14 19:47:59,076 - INFO - Created VN ctest-vn-76003761
2025-04-14 19:47:59,136 - DEBUG - VN ctest-vn-76003761 UUID is 0cb085ca-9047-4c50-b1fe-729995c0d96f
2025-04-14 19:47:59,457 - DEBUG - Response for create_network : {'network': {'id': '814a04cc-71f3-46bc-9146-1831b3903ddf', 'name': 'ctest-ext_vn-40350642', 'tenant_id': 'ade2c9694dda4b82abc0ca72e8ced057', 'project_id': 'ade2c9694dda4b82abc0ca72e8ced057', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87169886', 'ctest-ext_vn-40350642'], 'port_security_enabled': True, 'description': ''}}
2025-04-14 19:47:59,614 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b61665a-4999-4b5d-a1a8-bf751bc9ad23', 'name': '', 'tenant_id': 'ade2c9694dda4b82abc0ca72e8ced057', 'network_id': '814a04cc-71f3-46bc-9146-1831b3903ddf', 'ip_version': 4, 'cidr': '37.252.195.0/26', 'allocation_pools': [{'start': '37.252.195.2', 'end': '37.252.195.62'}], 'gateway_ip': '37.252.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.252.195.2', 'tags': [], 'project_id': 'ade2c9694dda4b82abc0ca72e8ced057'}}
2025-04-14 19:47:59,636 - INFO - Created VN ctest-ext_vn-40350642
2025-04-14 19:47:59,692 - DEBUG - VN ctest-ext_vn-40350642 UUID is 814a04cc-71f3-46bc-9146-1831b3903ddf
2025-04-14 19:47:59,896 - DEBUG - Services list from nova: [, , ]
2025-04-14 19:48:00,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3109-1)
2025-04-14 19:48:02,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3109-1)
2025-04-14 19:48:02,257 - INFO - Setting gateway for router 74ad8f48-ff12-4cc0-9f60-543a4b3e9a93 to network 814a04cc-71f3-46bc-9146-1831b3903ddf
2025-04-14 19:48:02,333 - INFO - Adding interface with subnet_id 0329f16c-4f1b-43ed-a87f-5d0060f7c1ca, port_id None to router 74ad8f48-ff12-4cc0-9f60-543a4b3e9a93
2025-04-14 19:48:02,866 - INFO - Waiting for VM ctest-TestRoutersBasic-87169886-06944944 to be up..
2025-04-14 19:48:03,010 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-14 19:48:08,131 - DEBUG - VM is in ACTIVE state now
2025-04-14 19:48:08,131 - INFO - VM name : ctest-TestRoutersBasic-87169886-06944944
2025-04-14 19:48:08,228 - DEBUG - VM ctest-TestRoutersBasic-87169886-06944944 ID is 4555b060-e538-4c0d-affe-6d76a59280d0
2025-04-14 19:48:08,257 - DEBUG - VM ctest-TestRoutersBasic-87169886-06944944 launched on Node cn-jenkins-deploy-platform-ansible-os-3109-1
2025-04-14 19:48:08,355 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4555b060-e538-4c0d-affe-6d76a59280d0
2025-04-14 19:48:08,670 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4555b060-e538-4c0d-affe-6d76a59280d0
2025-04-14 19:48:08,699 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dc33edc5-5e03-40c2-8e1c-acd1ef966da2
2025-04-14 19:48:11,950 - 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 1006ms')
2025-04-14 19:48:11,950 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87169886-06944944 failed!
2025-04-14 19:48:12,012 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87169886:ctest-vn-76003761 is 82.146.30.65 and allocation pool is NOT set
2025-04-14 19:48:14,080 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 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 = 1.025/2.334/3.644/1.309 ms')
2025-04-14 19:48:14,080 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87169886-06944944 passed
2025-04-14 19:48:14,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 19:48:14,192 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87169886-06944944, IP 82.146.30.67, Port 22
2025-04-14 19:48:14,347 - DEBUG - VM ctest-TestRoutersBasic-87169886-06944944 is ready for SSH connections
2025-04-14 19:48:14,348 - INFO - Waiting for VM ctest-TestRoutersBasic-87169886-74767788 to be up..
2025-04-14 19:48:14,437 - DEBUG - VM is in ACTIVE state now
2025-04-14 19:48:14,437 - INFO - VM name : ctest-TestRoutersBasic-87169886-74767788
2025-04-14 19:48:14,513 - DEBUG - VM ctest-TestRoutersBasic-87169886-74767788 ID is e7292e59-726b-4331-80ca-2c4280b5e68f
2025-04-14 19:48:14,513 - DEBUG - VM ctest-TestRoutersBasic-87169886-74767788 launched on Node cn-jenkins-deploy-platform-ansible-os-3109-1
2025-04-14 19:48:14,588 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e7292e59-726b-4331-80ca-2c4280b5e68f
2025-04-14 19:48:14,597 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8d5c1b9f-b885-43c9-9fee-68ce4891204f
2025-04-14 19:48:15,831 - 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=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.310 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.310/1.534/2.758/1.224 ms')
2025-04-14 19:48:15,831 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87169886-74767788 passed
2025-04-14 19:48:15,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 19:48:15,988 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87169886-74767788, IP 37.252.195.3, Port 22
2025-04-14 19:48:16,147 - DEBUG - VM ctest-TestRoutersBasic-87169886-74767788 is ready for SSH connections
2025-04-14 19:48:16,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 19:48:16,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.252.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-04-14 19:48:16,147 - DEBUG - ping -s 56 -c 3 -W 1 37.252.195.3
2025-04-14 19:48:20,120 - DEBUG - PING 37.252.195.3 (37.252.195.3): 56 data bytes
64 bytes from 37.252.195.3: seq=0 ttl=62 time=5.649 ms
64 bytes from 37.252.195.3: seq=1 ttl=62 time=0.749 ms
64 bytes from 37.252.195.3: seq=2 ttl=62 time=1.012 ms
--- 37.252.195.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.749/2.470/5.649 ms
2025-04-14 19:48:20,120 - INFO - Ping to IP 37.252.195.3 from VM ctest-TestRoutersBasic-87169886-06944944 passed
2025-04-14 19:48:20,121 - INFO - Deleting interface with subnet_id 0329f16c-4f1b-43ed-a87f-5d0060f7c1ca, port_id None from router 74ad8f48-ff12-4cc0-9f60-543a4b3e9a93
2025-04-14 19:48:20,321 - INFO - Deleting VM ctest-TestRoutersBasic-87169886-74767788
2025-04-14 19:48:20,387 - INFO - Deleting VM ctest-TestRoutersBasic-87169886-06944944
2025-04-14 19:48:20,479 - INFO - Deleting VN ctest-ext_vn-40350642
2025-04-14 19:48:20,547 - DEBUG - VN 814a04cc-71f3-46bc-9146-1831b3903ddf still in use: Unable to complete operation on network 814a04cc-71f3-46bc-9146-1831b3903ddf. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-84ab703f-b32d-4099-accf-9f8f38de1e01']
2025-04-14 19:48:20,547 - WARNING - Deleting VN ctest-ext_vn-40350642 failed..Will retry
2025-04-14 19:48:22,651 - DEBUG - Response for deleting network ()
2025-04-14 19:48:22,651 - INFO - Deleting VN ctest-vn-76003761
2025-04-14 19:48:22,749 - DEBUG - Response for deleting network ()
2025-04-14 19:48:23,002 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 19:48:23,002 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-14 19:48:23,002 - INFO - --------------------------------------------------------------------------------
2025-04-14 19:48:23,680 - INFO - Deleted project: ctest-TestRoutersBasic-87169886, ID : ade2c969-4dda-4b82-abc0-ca72e8ced057