2025-04-14 20:40:24,767 - INFO - Domain Default found not creating
2025-04-14 20:40:24,920 - INFO - Project ctest-TestRoutersBasic-11203759 not found, creating it
2025-04-14 20:40:25,381 - INFO - Created Project:ctest-TestRoutersBasic-11203759, ID : 8e8676c2-35d7-4a68-8173-d80bba9d5449
2025-04-14 20:40:26,870 - INFO - ================================================================================
2025-04-14 20:40:26,870 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-14 20:40:26,870 - 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 20:40:27,132 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-04-14 20:40:27,132 - INFO - Initial checks done. Running the testcase now
2025-04-14 20:40:27,132 - INFO -
2025-04-14 20:40:27,827 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11203759
2025-04-14 20:40:27,921 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11203759
2025-04-14 20:40:28,241 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11203759', 'default']}
2025-04-14 20:40:28,553 - DEBUG - Response for create_network : {'network': {'id': 'c5f46d59-69bc-43cd-9cf5-574fab326c6e', 'name': 'ctest-vn-63012217', 'tenant_id': '8e8676c235d74a688173d80bba9d5449', 'project_id': '8e8676c235d74a688173d80bba9d5449', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11203759', 'ctest-vn-63012217'], 'port_security_enabled': True, 'description': ''}}
2025-04-14 20:40:28,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '59e80e21-f3d9-40dc-8348-21ecf8241558', 'name': '', 'tenant_id': '8e8676c235d74a688173d80bba9d5449', 'network_id': 'c5f46d59-69bc-43cd-9cf5-574fab326c6e', 'ip_version': 4, 'cidr': '185.239.19.192/26', 'allocation_pools': [{'start': '185.239.19.194', 'end': '185.239.19.254'}], 'gateway_ip': '185.239.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.239.19.194', 'tags': [], 'project_id': '8e8676c235d74a688173d80bba9d5449'}}
2025-04-14 20:40:28,765 - INFO - Created VN ctest-vn-63012217
2025-04-14 20:40:28,821 - DEBUG - VN ctest-vn-63012217 UUID is c5f46d59-69bc-43cd-9cf5-574fab326c6e
2025-04-14 20:40:29,140 - DEBUG - Response for create_network : {'network': {'id': 'a0790275-44b0-48f0-876a-d8b8f1848acf', 'name': 'ctest-ext_vn-60367504', 'tenant_id': '8e8676c235d74a688173d80bba9d5449', 'project_id': '8e8676c235d74a688173d80bba9d5449', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11203759', 'ctest-ext_vn-60367504'], 'port_security_enabled': True, 'description': ''}}
2025-04-14 20:40:29,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b88d872-2513-450e-be26-3ce98029dbfc', 'name': '', 'tenant_id': '8e8676c235d74a688173d80bba9d5449', 'network_id': 'a0790275-44b0-48f0-876a-d8b8f1848acf', 'ip_version': 4, 'cidr': '55.95.9.128/26', 'allocation_pools': [{'start': '55.95.9.130', 'end': '55.95.9.190'}], 'gateway_ip': '55.95.9.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.95.9.130', 'tags': [], 'project_id': '8e8676c235d74a688173d80bba9d5449'}}
2025-04-14 20:40:29,412 - INFO - Created VN ctest-ext_vn-60367504
2025-04-14 20:40:29,461 - DEBUG - VN ctest-ext_vn-60367504 UUID is a0790275-44b0-48f0-876a-d8b8f1848acf
2025-04-14 20:40:29,630 - DEBUG - Services list from nova: [, , ]
2025-04-14 20:40:30,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3110-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3110-1)
2025-04-14 20:40:31,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3110-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3110-1)
2025-04-14 20:40:32,065 - INFO - Setting gateway for router b3c1eeaf-f224-4dc2-81a1-6e80a751922e to network a0790275-44b0-48f0-876a-d8b8f1848acf
2025-04-14 20:40:32,153 - INFO - Adding interface with subnet_id 59e80e21-f3d9-40dc-8348-21ecf8241558, port_id None to router b3c1eeaf-f224-4dc2-81a1-6e80a751922e
2025-04-14 20:40:32,492 - INFO - Waiting for VM ctest-TestRoutersBasic-11203759-20248052 to be up..
2025-04-14 20:40:32,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-14 20:40:37,773 - DEBUG - VM is in ACTIVE state now
2025-04-14 20:40:37,773 - INFO - VM name : ctest-TestRoutersBasic-11203759-20248052
2025-04-14 20:40:37,864 - DEBUG - VM ctest-TestRoutersBasic-11203759-20248052 ID is 902a0625-e71b-49e7-8187-2fe2f79436a5
2025-04-14 20:40:37,889 - DEBUG - VM ctest-TestRoutersBasic-11203759-20248052 launched on Node cn-jenkins-deploy-platform-ansible-os-3110-1
2025-04-14 20:40:37,977 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/902a0625-e71b-49e7-8187-2fe2f79436a5
2025-04-14 20:40:38,279 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/902a0625-e71b-49e7-8187-2fe2f79436a5
2025-04-14 20:40:38,319 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f77fac03-0a0f-4963-abb1-952220f6d56d
2025-04-14 20:40:41,585 - 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 20:40:41,585 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11203759-20248052 failed!
2025-04-14 20:40:41,637 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11203759:ctest-vn-63012217 is 185.239.19.193 and allocation pool is NOT set
2025-04-14 20:40:43,697 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.519 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.519/1.964/3.409/1.445 ms')
2025-04-14 20:40:43,697 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11203759-20248052 passed
2025-04-14 20:40:43,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 20:40:43,849 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11203759-20248052, IP 185.239.19.195, Port 22
2025-04-14 20:40:44,028 - DEBUG - VM ctest-TestRoutersBasic-11203759-20248052 is ready for SSH connections
2025-04-14 20:40:44,028 - INFO - Waiting for VM ctest-TestRoutersBasic-11203759-89360820 to be up..
2025-04-14 20:40:44,107 - DEBUG - VM is in ACTIVE state now
2025-04-14 20:40:44,107 - INFO - VM name : ctest-TestRoutersBasic-11203759-89360820
2025-04-14 20:40:44,187 - DEBUG - VM ctest-TestRoutersBasic-11203759-89360820 ID is 9a9811ac-b97b-431b-9a18-b6957f79a7d0
2025-04-14 20:40:44,187 - DEBUG - VM ctest-TestRoutersBasic-11203759-89360820 launched on Node cn-jenkins-deploy-platform-ansible-os-3110-1
2025-04-14 20:40:44,266 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9a9811ac-b97b-431b-9a18-b6957f79a7d0
2025-04-14 20:40:44,277 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e3a2051f-b84e-4cad-9beb-3643945313ae
2025-04-14 20:40:45,533 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.823 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.823/2.296/3.770/1.473 ms')
2025-04-14 20:40:45,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11203759-89360820 passed
2025-04-14 20:40:45,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 20:40:45,681 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11203759-89360820, IP 55.95.9.131, Port 22
2025-04-14 20:40:45,836 - DEBUG - VM ctest-TestRoutersBasic-11203759-89360820 is ready for SSH connections
2025-04-14 20:40:45,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-14 20:40:45,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.95.9.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-14 20:40:45,837 - DEBUG - ping -s 56 -c 3 -W 1 55.95.9.131
2025-04-14 20:40:49,803 - DEBUG - PING 55.95.9.131 (55.95.9.131): 56 data bytes
64 bytes from 55.95.9.131: seq=0 ttl=62 time=6.129 ms
64 bytes from 55.95.9.131: seq=1 ttl=62 time=0.952 ms
64 bytes from 55.95.9.131: seq=2 ttl=62 time=1.115 ms
--- 55.95.9.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.952/2.732/6.129 ms
2025-04-14 20:40:49,803 - INFO - Ping to IP 55.95.9.131 from VM ctest-TestRoutersBasic-11203759-20248052 passed
2025-04-14 20:40:49,804 - INFO - Deleting interface with subnet_id 59e80e21-f3d9-40dc-8348-21ecf8241558, port_id None from router b3c1eeaf-f224-4dc2-81a1-6e80a751922e
2025-04-14 20:40:50,001 - INFO - Deleting VM ctest-TestRoutersBasic-11203759-89360820
2025-04-14 20:40:50,076 - INFO - Deleting VM ctest-TestRoutersBasic-11203759-20248052
2025-04-14 20:40:50,160 - INFO - Deleting VN ctest-ext_vn-60367504
2025-04-14 20:40:50,227 - DEBUG - VN a0790275-44b0-48f0-876a-d8b8f1848acf still in use: Unable to complete operation on network a0790275-44b0-48f0-876a-d8b8f1848acf. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4d3c7817-31fe-4cb1-8939-6f6fe7191e05']
2025-04-14 20:40:50,227 - WARNING - Deleting VN ctest-ext_vn-60367504 failed..Will retry
2025-04-14 20:40:52,337 - DEBUG - Response for deleting network ()
2025-04-14 20:40:52,337 - INFO - Deleting VN ctest-vn-63012217
2025-04-14 20:40:52,440 - DEBUG - Response for deleting network ()
2025-04-14 20:40:52,699 - DEBUG - No XMPP flaps were noticed during the test
2025-04-14 20:40:52,699 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-14 20:40:52,699 - INFO - --------------------------------------------------------------------------------
2025-04-14 20:40:53,358 - INFO - Deleted project: ctest-TestRoutersBasic-11203759, ID : 8e8676c2-35d7-4a68-8173-d80bba9d5449