2025-07-07 11:35:28,431 - INFO - Domain Default found not creating
2025-07-07 11:35:28,584 - INFO - Project ctest-TestRoutersBasic-27022637 not found, creating it
2025-07-07 11:35:29,069 - INFO - Created Project:ctest-TestRoutersBasic-27022637, ID : 2aabb34a-3668-49ec-93d1-048f7c0d2faa
2025-07-07 11:35:30,631 - INFO - ================================================================================
2025-07-07 11:35:30,631 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-07-07 11:35:30,631 - 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-07 11:35:30,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-07 11:35:30,885 - INFO - Initial checks done. Running the testcase now
2025-07-07 11:35:30,885 - INFO -
2025-07-07 11:35:31,868 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27022637
2025-07-07 11:35:31,979 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27022637
2025-07-07 11:35:32,311 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27022637', 'default']}
2025-07-07 11:35:32,631 - DEBUG - Response for create_network : {'network': {'id': '1c018e48-50b7-4168-8097-1fe03374c4c3', 'name': 'ctest-vn-72574375', 'tenant_id': '2aabb34a366849ec93d1048f7c0d2faa', 'project_id': '2aabb34a366849ec93d1048f7c0d2faa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27022637', 'ctest-vn-72574375'], 'port_security_enabled': True, 'description': ''}}
2025-07-07 11:35:32,843 - DEBUG - Response for create_subnet : {'subnet': {'id': '6058e507-75cd-4a6b-ad6e-1b7749edd321', 'name': '', 'tenant_id': '2aabb34a366849ec93d1048f7c0d2faa', 'network_id': '1c018e48-50b7-4168-8097-1fe03374c4c3', 'ip_version': 4, 'cidr': '27.207.103.64/26', 'allocation_pools': [{'start': '27.207.103.66', 'end': '27.207.103.126'}], 'gateway_ip': '27.207.103.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.207.103.66', 'tags': [], 'project_id': '2aabb34a366849ec93d1048f7c0d2faa'}}
2025-07-07 11:35:32,868 - INFO - Created VN ctest-vn-72574375
2025-07-07 11:35:32,923 - DEBUG - VN ctest-vn-72574375 UUID is 1c018e48-50b7-4168-8097-1fe03374c4c3
2025-07-07 11:35:33,266 - DEBUG - Response for create_network : {'network': {'id': '8703bcd1-4bc0-46fd-a668-491f4b2d8f38', 'name': 'ctest-ext_vn-88806317', 'tenant_id': '2aabb34a366849ec93d1048f7c0d2faa', 'project_id': '2aabb34a366849ec93d1048f7c0d2faa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27022637', 'ctest-ext_vn-88806317'], 'port_security_enabled': True, 'description': ''}}
2025-07-07 11:35:33,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '48d0a2af-4a44-42d8-a540-3b13834cac7b', 'name': '', 'tenant_id': '2aabb34a366849ec93d1048f7c0d2faa', 'network_id': '8703bcd1-4bc0-46fd-a668-491f4b2d8f38', 'ip_version': 4, 'cidr': '161.76.247.64/26', 'allocation_pools': [{'start': '161.76.247.66', 'end': '161.76.247.126'}], 'gateway_ip': '161.76.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.76.247.66', 'tags': [], 'project_id': '2aabb34a366849ec93d1048f7c0d2faa'}}
2025-07-07 11:35:33,468 - INFO - Created VN ctest-ext_vn-88806317
2025-07-07 11:35:33,523 - DEBUG - VN ctest-ext_vn-88806317 UUID is 8703bcd1-4bc0-46fd-a668-491f4b2d8f38
2025-07-07 11:35:33,690 - DEBUG - Services list from nova: [, , ]
2025-07-07 11:35:34,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3607-1)
2025-07-07 11:35:36,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3607-1)
2025-07-07 11:35:36,110 - INFO - Setting gateway for router c6842cbb-312e-4b53-a952-05b431d50f18 to network 8703bcd1-4bc0-46fd-a668-491f4b2d8f38
2025-07-07 11:35:36,206 - INFO - Adding interface with subnet_id 6058e507-75cd-4a6b-ad6e-1b7749edd321, port_id None to router c6842cbb-312e-4b53-a952-05b431d50f18
2025-07-07 11:35:36,559 - INFO - Waiting for VM ctest-TestRoutersBasic-27022637-34786557 to be up..
2025-07-07 11:35:36,726 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-07 11:35:41,806 - DEBUG - VM is in ACTIVE state now
2025-07-07 11:35:41,806 - INFO - VM name : ctest-TestRoutersBasic-27022637-34786557
2025-07-07 11:35:41,891 - DEBUG - VM ctest-TestRoutersBasic-27022637-34786557 ID is 83d27cd1-4ac8-4282-a2c5-8bc868aa9ece
2025-07-07 11:35:41,911 - DEBUG - VM ctest-TestRoutersBasic-27022637-34786557 launched on Node cn-jenkins-deploy-platform-ansible-os-3607-1
2025-07-07 11:35:41,991 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/83d27cd1-4ac8-4282-a2c5-8bc868aa9ece
2025-07-07 11:35:42,330 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/83d27cd1-4ac8-4282-a2c5-8bc868aa9ece
2025-07-07 11:35:42,369 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f98c44a1-6ab7-4478-b59f-28f7df60ea59
2025-07-07 11:35:45,640 - 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 1016ms')
2025-07-07 11:35:45,640 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27022637-34786557 failed!
2025-07-07 11:35:45,699 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27022637:ctest-vn-72574375 is 27.207.103.65 and allocation pool is NOT set
2025-07-07 11:35:47,764 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.368 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.368/1.677/2.986/1.309 ms')
2025-07-07 11:35:47,764 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27022637-34786557 passed
2025-07-07 11:35:47,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-07 11:35:47,915 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27022637-34786557, IP 27.207.103.67, Port 22
2025-07-07 11:35:48,075 - DEBUG - VM ctest-TestRoutersBasic-27022637-34786557 is ready for SSH connections
2025-07-07 11:35:48,075 - INFO - Waiting for VM ctest-TestRoutersBasic-27022637-23981796 to be up..
2025-07-07 11:35:48,151 - DEBUG - VM is in ACTIVE state now
2025-07-07 11:35:48,151 - INFO - VM name : ctest-TestRoutersBasic-27022637-23981796
2025-07-07 11:35:48,224 - DEBUG - VM ctest-TestRoutersBasic-27022637-23981796 ID is ba5d655e-3ff4-4165-8890-9289ca55a47d
2025-07-07 11:35:48,224 - DEBUG - VM ctest-TestRoutersBasic-27022637-23981796 launched on Node cn-jenkins-deploy-platform-ansible-os-3607-1
2025-07-07 11:35:48,298 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ba5d655e-3ff4-4165-8890-9289ca55a47d
2025-07-07 11:35:48,307 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e3fa1e34-3109-40b2-9e30-20b36488ee7a
2025-07-07 11:35:49,559 - 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=5.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.103/3.221/5.340/2.118 ms')
2025-07-07 11:35:49,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27022637-23981796 passed
2025-07-07 11:35:49,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-07 11:35:49,711 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27022637-23981796, IP 161.76.247.67, Port 22
2025-07-07 11:35:49,883 - DEBUG - VM ctest-TestRoutersBasic-27022637-23981796 is ready for SSH connections
2025-07-07 11:35:49,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-07 11:35:49,883 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.76.247.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-07-07 11:35:49,883 - DEBUG - ping -s 56 -c 3 -W 1 161.76.247.67
2025-07-07 11:35:53,965 - DEBUG - PING 161.76.247.67 (161.76.247.67): 56 data bytes
64 bytes from 161.76.247.67: seq=0 ttl=62 time=6.743 ms
64 bytes from 161.76.247.67: seq=1 ttl=62 time=1.126 ms
64 bytes from 161.76.247.67: seq=2 ttl=62 time=0.853 ms
--- 161.76.247.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.853/2.907/6.743 ms
2025-07-07 11:35:53,965 - INFO - Ping to IP 161.76.247.67 from VM ctest-TestRoutersBasic-27022637-34786557 passed
2025-07-07 11:35:53,965 - INFO - Deleting interface with subnet_id 6058e507-75cd-4a6b-ad6e-1b7749edd321, port_id None from router c6842cbb-312e-4b53-a952-05b431d50f18
2025-07-07 11:35:54,207 - INFO - Deleting VM ctest-TestRoutersBasic-27022637-23981796
2025-07-07 11:35:54,297 - INFO - Deleting VM ctest-TestRoutersBasic-27022637-34786557
2025-07-07 11:35:54,407 - INFO - Deleting VN ctest-ext_vn-88806317
2025-07-07 11:35:54,499 - DEBUG - VN 8703bcd1-4bc0-46fd-a668-491f4b2d8f38 still in use: Unable to complete operation on network 8703bcd1-4bc0-46fd-a668-491f4b2d8f38. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fbbcc090-ee23-4957-8652-aa6fa92a0413']
2025-07-07 11:35:54,499 - WARNING - Deleting VN ctest-ext_vn-88806317 failed..Will retry
2025-07-07 11:35:56,645 - DEBUG - Response for deleting network ()
2025-07-07 11:35:56,645 - INFO - Deleting VN ctest-vn-72574375
2025-07-07 11:35:56,769 - DEBUG - Response for deleting network ()
2025-07-07 11:35:57,025 - DEBUG - No XMPP flaps were noticed during the test
2025-07-07 11:35:57,025 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-07-07 11:35:57,025 - INFO - --------------------------------------------------------------------------------
2025-07-07 11:35:57,760 - INFO - Deleted project: ctest-TestRoutersBasic-27022637, ID : 2aabb34a-3668-49ec-93d1-048f7c0d2faa