2025-07-08 18:04:37,808 - INFO - Domain Default found not creating
2025-07-08 18:04:37,946 - INFO - Project ctest-TestRoutersBasic-40952304 not found, creating it
2025-07-08 18:04:38,398 - INFO - Created Project:ctest-TestRoutersBasic-40952304, ID : 0457b47c-6bad-479f-aecd-e1ee13198716
2025-07-08 18:04:39,845 - INFO - ================================================================================
2025-07-08 18:04:39,845 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-08 18:04:39,845 - 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-07-08 18:04:40,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with
2025-07-08 18:04:40,099 - INFO - Initial checks done. Running the testcase now
2025-07-08 18:04:40,099 - INFO -
2025-07-08 18:04:40,795 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40952304
2025-07-08 18:04:40,889 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40952304
2025-07-08 18:04:41,209 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40952304', 'default']}
2025-07-08 18:04:41,511 - DEBUG - Response for create_network : {'network': {'id': 'cd377a52-7389-4146-8ec6-1026ba2cc30e', 'name': 'ctest-vn-42898512', 'tenant_id': '0457b47c6bad479faecde1ee13198716', 'project_id': '0457b47c6bad479faecde1ee13198716', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40952304', 'ctest-vn-42898512'], 'port_security_enabled': True, 'description': ''}}
2025-07-08 18:04:41,672 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7c56184-b7da-455d-8c56-9cfd2509b622', 'name': '', 'tenant_id': '0457b47c6bad479faecde1ee13198716', 'network_id': 'cd377a52-7389-4146-8ec6-1026ba2cc30e', 'ip_version': 4, 'cidr': '56.45.81.128/26', 'allocation_pools': [{'start': '56.45.81.130', 'end': '56.45.81.190'}], 'gateway_ip': '56.45.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.45.81.130', 'tags': [], 'project_id': '0457b47c6bad479faecde1ee13198716'}}
2025-07-08 18:04:41,691 - INFO - Created VN ctest-vn-42898512
2025-07-08 18:04:41,745 - DEBUG - VN ctest-vn-42898512 UUID is cd377a52-7389-4146-8ec6-1026ba2cc30e
2025-07-08 18:04:42,089 - DEBUG - Response for create_network : {'network': {'id': '69c22384-4a7d-4e32-96c0-0012b986adae', 'name': 'ctest-ext_vn-33329315', 'tenant_id': '0457b47c6bad479faecde1ee13198716', 'project_id': '0457b47c6bad479faecde1ee13198716', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40952304', 'ctest-ext_vn-33329315'], 'port_security_enabled': True, 'description': ''}}
2025-07-08 18:04:42,266 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd733a1de-b210-4a1f-939c-c20b18bef483', 'name': '', 'tenant_id': '0457b47c6bad479faecde1ee13198716', 'network_id': '69c22384-4a7d-4e32-96c0-0012b986adae', 'ip_version': 4, 'cidr': '149.239.30.128/26', 'allocation_pools': [{'start': '149.239.30.130', 'end': '149.239.30.190'}], 'gateway_ip': '149.239.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.239.30.130', 'tags': [], 'project_id': '0457b47c6bad479faecde1ee13198716'}}
2025-07-08 18:04:42,283 - INFO - Created VN ctest-ext_vn-33329315
2025-07-08 18:04:42,337 - DEBUG - VN ctest-ext_vn-33329315 UUID is 69c22384-4a7d-4e32-96c0-0012b986adae
2025-07-08 18:04:42,505 - DEBUG - Services list from nova: [, , ]
2025-07-08 18:04:43,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3615-1)
2025-07-08 18:04:44,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3615-1)
2025-07-08 18:04:44,841 - INFO - Setting gateway for router c0d70812-abdf-48c7-ab14-044515976271 to network 69c22384-4a7d-4e32-96c0-0012b986adae
2025-07-08 18:04:44,920 - INFO - Adding interface with subnet_id d7c56184-b7da-455d-8c56-9cfd2509b622, port_id None to router c0d70812-abdf-48c7-ab14-044515976271
2025-07-08 18:04:45,269 - INFO - Waiting for VM ctest-TestRoutersBasic-40952304-96942855 to be up..
2025-07-08 18:04:45,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-08 18:04:50,478 - DEBUG - VM is in ACTIVE state now
2025-07-08 18:04:50,478 - INFO - VM name : ctest-TestRoutersBasic-40952304-96942855
2025-07-08 18:04:50,551 - DEBUG - VM ctest-TestRoutersBasic-40952304-96942855 ID is a4986bbd-b9f6-4038-a750-0741a67c996c
2025-07-08 18:04:50,571 - DEBUG - VM ctest-TestRoutersBasic-40952304-96942855 launched on Node cn-jenkins-deploy-platform-ansible-os-3615-1
2025-07-08 18:04:50,641 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a4986bbd-b9f6-4038-a750-0741a67c996c
2025-07-08 18:04:50,932 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a4986bbd-b9f6-4038-a750-0741a67c996c
2025-07-08 18:04:50,964 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/9c80519b-71c6-44be-a4a3-cee266b20513
2025-07-08 18:04:54,201 - 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 1002ms')
2025-07-08 18:04:54,202 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40952304-96942855 failed!
2025-07-08 18:04:54,261 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40952304:ctest-vn-42898512 is 56.45.81.129 and allocation pool is NOT set
2025-07-08 18:04:56,320 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 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.464/1.872/3.281/1.408 ms')
2025-07-08 18:04:56,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40952304-96942855 passed
2025-07-08 18:04:56,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-08 18:04:56,473 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40952304-96942855, IP 56.45.81.131, Port 22
2025-07-08 18:04:56,629 - DEBUG - VM ctest-TestRoutersBasic-40952304-96942855 is ready for SSH connections
2025-07-08 18:04:56,629 - INFO - Waiting for VM ctest-TestRoutersBasic-40952304-42016172 to be up..
2025-07-08 18:04:56,723 - DEBUG - VM is in ACTIVE state now
2025-07-08 18:04:56,723 - INFO - VM name : ctest-TestRoutersBasic-40952304-42016172
2025-07-08 18:04:56,799 - DEBUG - VM ctest-TestRoutersBasic-40952304-42016172 ID is 042d5fdd-1cf8-4537-9ec3-db587165b173
2025-07-08 18:04:56,800 - DEBUG - VM ctest-TestRoutersBasic-40952304-42016172 launched on Node cn-jenkins-deploy-platform-ansible-os-3615-1
2025-07-08 18:04:56,868 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/042d5fdd-1cf8-4537-9ec3-db587165b173
2025-07-08 18:04:56,877 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/2e36efb6-a4b4-49fd-8390-da3d0da9c94d
2025-07-08 18:04:58,114 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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.413/1.732/3.051/1.319 ms')
2025-07-08 18:04:58,114 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40952304-42016172 passed
2025-07-08 18:04:58,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-08 18:04:58,265 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40952304-42016172, IP 149.239.30.131, Port 22
2025-07-08 18:04:58,420 - DEBUG - VM ctest-TestRoutersBasic-40952304-42016172 is ready for SSH connections
2025-07-08 18:04:58,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-08 18:04:58,421 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.239.30.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-07-08 18:04:58,421 - DEBUG - ping -s 56 -c 3 -W 1 149.239.30.131
2025-07-08 18:05:02,385 - DEBUG - PING 149.239.30.131 (149.239.30.131): 56 data bytes
64 bytes from 149.239.30.131: seq=0 ttl=62 time=4.645 ms
64 bytes from 149.239.30.131: seq=1 ttl=62 time=0.949 ms
64 bytes from 149.239.30.131: seq=2 ttl=62 time=0.807 ms
--- 149.239.30.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.807/2.133/4.645 ms
2025-07-08 18:05:02,386 - INFO - Ping to IP 149.239.30.131 from VM ctest-TestRoutersBasic-40952304-96942855 passed
2025-07-08 18:05:02,386 - INFO - Deleting interface with subnet_id d7c56184-b7da-455d-8c56-9cfd2509b622, port_id None from router c0d70812-abdf-48c7-ab14-044515976271
2025-07-08 18:05:02,568 - INFO - Deleting VM ctest-TestRoutersBasic-40952304-42016172
2025-07-08 18:05:02,654 - INFO - Deleting VM ctest-TestRoutersBasic-40952304-96942855
2025-07-08 18:05:02,745 - INFO - Deleting VN ctest-ext_vn-33329315
2025-07-08 18:05:02,818 - DEBUG - VN 69c22384-4a7d-4e32-96c0-0012b986adae still in use: Unable to complete operation on network 69c22384-4a7d-4e32-96c0-0012b986adae. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6341e8f4-cf4b-4347-8a74-748f78157330']
2025-07-08 18:05:02,818 - WARNING - Deleting VN ctest-ext_vn-33329315 failed..Will retry
2025-07-08 18:05:04,926 - DEBUG - Response for deleting network ()
2025-07-08 18:05:04,926 - INFO - Deleting VN ctest-vn-42898512
2025-07-08 18:05:05,040 - DEBUG - Response for deleting network ()
2025-07-08 18:05:05,299 - DEBUG - No XMPP flaps were noticed during the test
2025-07-08 18:05:05,299 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-08 18:05:05,299 - INFO - --------------------------------------------------------------------------------
2025-07-08 18:05:05,979 - INFO - Deleted project: ctest-TestRoutersBasic-40952304, ID : 0457b47c-6bad-479f-aecd-e1ee13198716