2025-04-13 10:26:19,892 - INFO - Domain Default found not creating
2025-04-13 10:26:20,048 - INFO - Project ctest-TestRoutersBasic-84095799 not found, creating it
2025-04-13 10:26:20,513 - INFO - Created Project:ctest-TestRoutersBasic-84095799, ID : 81446a82-1620-407d-b2ef-23db8ca39466
2025-04-13 10:26:21,920 - INFO - ================================================================================
2025-04-13 10:26:21,921 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-13 10:26:21,921 - 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-13 10:26:22,182 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-04-13 10:26:22,183 - INFO - Initial checks done. Running the testcase now
2025-04-13 10:26:22,183 - INFO -
2025-04-13 10:26:22,880 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84095799
2025-04-13 10:26:22,980 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84095799
2025-04-13 10:26:23,304 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84095799', 'default']}
2025-04-13 10:26:23,606 - DEBUG - Response for create_network : {'network': {'id': 'bde51009-61ca-4d0f-a231-c894182f2ae2', 'name': 'ctest-vn-91326333', 'tenant_id': '81446a821620407db2ef23db8ca39466', 'project_id': '81446a821620407db2ef23db8ca39466', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84095799', 'ctest-vn-91326333'], 'port_security_enabled': True, 'description': ''}}
2025-04-13 10:26:23,778 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a645025b-c152-40ac-bba6-b0326b7ae621', 'name': '', 'tenant_id': '81446a821620407db2ef23db8ca39466', 'network_id': 'bde51009-61ca-4d0f-a231-c894182f2ae2', 'ip_version': 4, 'cidr': '47.163.5.128/26', 'allocation_pools': [{'start': '47.163.5.130', 'end': '47.163.5.190'}], 'gateway_ip': '47.163.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.163.5.130', 'tags': [], 'project_id': '81446a821620407db2ef23db8ca39466'}}
2025-04-13 10:26:23,795 - INFO - Created VN ctest-vn-91326333
2025-04-13 10:26:23,848 - DEBUG - VN ctest-vn-91326333 UUID is bde51009-61ca-4d0f-a231-c894182f2ae2
2025-04-13 10:26:24,216 - DEBUG - Response for create_network : {'network': {'id': 'aaf59349-dbf2-4bd2-90ed-277624e5fd6e', 'name': 'ctest-ext_vn-40070807', 'tenant_id': '81446a821620407db2ef23db8ca39466', 'project_id': '81446a821620407db2ef23db8ca39466', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84095799', 'ctest-ext_vn-40070807'], 'port_security_enabled': True, 'description': ''}}
2025-04-13 10:26:24,385 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fcce83b-58bc-4d56-83c5-0bda663013a0', 'name': '', 'tenant_id': '81446a821620407db2ef23db8ca39466', 'network_id': 'aaf59349-dbf2-4bd2-90ed-277624e5fd6e', 'ip_version': 4, 'cidr': '92.166.96.64/26', 'allocation_pools': [{'start': '92.166.96.66', 'end': '92.166.96.126'}], 'gateway_ip': '92.166.96.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.166.96.66', 'tags': [], 'project_id': '81446a821620407db2ef23db8ca39466'}}
2025-04-13 10:26:24,404 - INFO - Created VN ctest-ext_vn-40070807
2025-04-13 10:26:24,460 - DEBUG - VN ctest-ext_vn-40070807 UUID is aaf59349-dbf2-4bd2-90ed-277624e5fd6e
2025-04-13 10:26:24,633 - DEBUG - Services list from nova: [, , ]
2025-04-13 10:26:25,666 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3083-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3083-1)
2025-04-13 10:26:26,799 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3083-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3083-1)
2025-04-13 10:26:26,877 - INFO - Setting gateway for router 76f3bd19-f6f4-4339-8f23-6097d54e7da1 to network aaf59349-dbf2-4bd2-90ed-277624e5fd6e
2025-04-13 10:26:26,934 - INFO - Adding interface with subnet_id a645025b-c152-40ac-bba6-b0326b7ae621, port_id None to router 76f3bd19-f6f4-4339-8f23-6097d54e7da1
2025-04-13 10:26:27,404 - INFO - Waiting for VM ctest-TestRoutersBasic-84095799-43857511 to be up..
2025-04-13 10:26:27,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-13 10:26:32,624 - DEBUG - VM is in ACTIVE state now
2025-04-13 10:26:32,624 - INFO - VM name : ctest-TestRoutersBasic-84095799-43857511
2025-04-13 10:26:32,702 - DEBUG - VM ctest-TestRoutersBasic-84095799-43857511 ID is da14c81b-0f2f-4ee2-9df4-bf3b6c3cf497
2025-04-13 10:26:32,729 - DEBUG - VM ctest-TestRoutersBasic-84095799-43857511 launched on Node cn-jenkins-deploy-platform-ansible-os-3083-1
2025-04-13 10:26:32,806 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/da14c81b-0f2f-4ee2-9df4-bf3b6c3cf497
2025-04-13 10:26:33,102 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/da14c81b-0f2f-4ee2-9df4-bf3b6c3cf497
2025-04-13 10:26:33,134 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ca4097e2-2892-477b-af34-8e525effcf24
2025-04-13 10:26:36,404 - 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 1031ms')
2025-04-13 10:26:36,404 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84095799-43857511 failed!
2025-04-13 10:26:36,460 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84095799:ctest-vn-91326333 is 47.163.5.129 and allocation pool is NOT set
2025-04-13 10:26:38,519 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/1.621/2.830/1.209 ms')
2025-04-13 10:26:38,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84095799-43857511 passed
2025-04-13 10:26:38,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-13 10:26:38,680 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84095799-43857511, IP 47.163.5.131, Port 22
2025-04-13 10:26:38,832 - DEBUG - VM ctest-TestRoutersBasic-84095799-43857511 is ready for SSH connections
2025-04-13 10:26:38,832 - INFO - Waiting for VM ctest-TestRoutersBasic-84095799-77374288 to be up..
2025-04-13 10:26:38,908 - DEBUG - VM is in ACTIVE state now
2025-04-13 10:26:38,908 - INFO - VM name : ctest-TestRoutersBasic-84095799-77374288
2025-04-13 10:26:38,983 - DEBUG - VM ctest-TestRoutersBasic-84095799-77374288 ID is 27bb294e-91c2-4435-ab05-2777adaefc57
2025-04-13 10:26:38,983 - DEBUG - VM ctest-TestRoutersBasic-84095799-77374288 launched on Node cn-jenkins-deploy-platform-ansible-os-3083-1
2025-04-13 10:26:39,059 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/27bb294e-91c2-4435-ab05-2777adaefc57
2025-04-13 10:26:39,070 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/65ed5cd6-ad96-4a77-b678-64f9800161b2
2025-04-13 10:26:40,313 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.618/2.821/1.202 ms')
2025-04-13 10:26:40,313 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84095799-77374288 passed
2025-04-13 10:26:40,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-13 10:26:40,472 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84095799-77374288, IP 92.166.96.67, Port 22
2025-04-13 10:26:40,628 - DEBUG - VM ctest-TestRoutersBasic-84095799-77374288 is ready for SSH connections
2025-04-13 10:26:40,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-13 10:26:40,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.166.96.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-13 10:26:40,628 - DEBUG - ping -s 56 -c 3 -W 1 92.166.96.67
2025-04-13 10:26:44,632 - DEBUG - PING 92.166.96.67 (92.166.96.67): 56 data bytes
64 bytes from 92.166.96.67: seq=0 ttl=62 time=6.978 ms
64 bytes from 92.166.96.67: seq=1 ttl=62 time=0.977 ms
64 bytes from 92.166.96.67: seq=2 ttl=62 time=1.166 ms
--- 92.166.96.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.977/3.040/6.978 ms
2025-04-13 10:26:44,633 - INFO - Ping to IP 92.166.96.67 from VM ctest-TestRoutersBasic-84095799-43857511 passed
2025-04-13 10:26:44,633 - INFO - Deleting interface with subnet_id a645025b-c152-40ac-bba6-b0326b7ae621, port_id None from router 76f3bd19-f6f4-4339-8f23-6097d54e7da1
2025-04-13 10:26:44,836 - INFO - Deleting VM ctest-TestRoutersBasic-84095799-77374288
2025-04-13 10:26:44,919 - INFO - Deleting VM ctest-TestRoutersBasic-84095799-43857511
2025-04-13 10:26:44,989 - INFO - Deleting VN ctest-ext_vn-40070807
2025-04-13 10:26:45,060 - DEBUG - VN aaf59349-dbf2-4bd2-90ed-277624e5fd6e still in use: Unable to complete operation on network aaf59349-dbf2-4bd2-90ed-277624e5fd6e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7da1abad-ede2-4b6f-b771-0c18ff841ca2']
2025-04-13 10:26:45,060 - WARNING - Deleting VN ctest-ext_vn-40070807 failed..Will retry
2025-04-13 10:26:47,168 - DEBUG - Response for deleting network ()
2025-04-13 10:26:47,168 - INFO - Deleting VN ctest-vn-91326333
2025-04-13 10:26:47,288 - DEBUG - Response for deleting network ()
2025-04-13 10:26:47,542 - DEBUG - No XMPP flaps were noticed during the test
2025-04-13 10:26:47,542 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-13 10:26:47,542 - INFO - --------------------------------------------------------------------------------
2025-04-13 10:26:48,227 - INFO - Deleted project: ctest-TestRoutersBasic-84095799, ID : 81446a82-1620-407d-b2ef-23db8ca39466