2025-10-07 15:48:16,000 - INFO - Domain Default found not creating
2025-10-07 15:48:16,151 - INFO - Project ctest-TestRoutersBasic-35383039 not found, creating it
2025-10-07 15:48:16,615 - INFO - Created Project:ctest-TestRoutersBasic-35383039, ID : 685285d3-5680-4d06-8d51-f1595449ad3c
2025-10-07 15:48:18,218 - INFO - ================================================================================
2025-10-07 15:48:18,219 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-07 15:48:18,219 - 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-10-07 15:48:18,479 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-07 15:48:18,479 - INFO - Initial checks done. Running the testcase now
2025-10-07 15:48:18,479 - INFO -
2025-10-07 15:48:19,263 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35383039
2025-10-07 15:48:19,357 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35383039
2025-10-07 15:48:19,693 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35383039', 'default']}
2025-10-07 15:48:19,991 - DEBUG - Response for create_network : {'network': {'id': 'ec53f135-15ab-4078-bcf2-49abab7f7213', 'name': 'ctest-vn-84085610', 'tenant_id': '685285d356804d068d51f1595449ad3c', 'project_id': '685285d356804d068d51f1595449ad3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35383039', 'ctest-vn-84085610'], 'port_security_enabled': True, 'description': ''}}
2025-10-07 15:48:20,212 - DEBUG - Response for create_subnet : {'subnet': {'id': '93d5f9bd-bdbe-401c-aed5-7d53bef9b0aa', 'name': '', 'tenant_id': '685285d356804d068d51f1595449ad3c', 'network_id': 'ec53f135-15ab-4078-bcf2-49abab7f7213', 'ip_version': 4, 'cidr': '61.137.229.64/26', 'allocation_pools': [{'start': '61.137.229.66', 'end': '61.137.229.126'}], 'gateway_ip': '61.137.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.137.229.66', 'tags': [], 'project_id': '685285d356804d068d51f1595449ad3c'}}
2025-10-07 15:48:20,231 - INFO - Created VN ctest-vn-84085610
2025-10-07 15:48:20,281 - DEBUG - VN ctest-vn-84085610 UUID is ec53f135-15ab-4078-bcf2-49abab7f7213
2025-10-07 15:48:20,597 - DEBUG - Response for create_network : {'network': {'id': '1d1a04b8-ee2a-4c68-a4c5-68fb868e5eca', 'name': 'ctest-ext_vn-88339008', 'tenant_id': '685285d356804d068d51f1595449ad3c', 'project_id': '685285d356804d068d51f1595449ad3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35383039', 'ctest-ext_vn-88339008'], 'port_security_enabled': True, 'description': ''}}
2025-10-07 15:48:20,751 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2b7ebd1-fa52-425d-8525-e4094d22f992', 'name': '', 'tenant_id': '685285d356804d068d51f1595449ad3c', 'network_id': '1d1a04b8-ee2a-4c68-a4c5-68fb868e5eca', 'ip_version': 4, 'cidr': '144.43.50.128/26', 'allocation_pools': [{'start': '144.43.50.130', 'end': '144.43.50.190'}], 'gateway_ip': '144.43.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.43.50.130', 'tags': [], 'project_id': '685285d356804d068d51f1595449ad3c'}}
2025-10-07 15:48:20,769 - INFO - Created VN ctest-ext_vn-88339008
2025-10-07 15:48:20,821 - DEBUG - VN ctest-ext_vn-88339008 UUID is 1d1a04b8-ee2a-4c68-a4c5-68fb868e5eca
2025-10-07 15:48:21,030 - DEBUG - Services list from nova: [, , ]
2025-10-07 15:48:22,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4229-1)
2025-10-07 15:48:23,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4229-1)
2025-10-07 15:48:23,523 - INFO - Setting gateway for router b7addd77-d884-412d-8ca7-dbf4cd5e96a6 to network 1d1a04b8-ee2a-4c68-a4c5-68fb868e5eca
2025-10-07 15:48:23,585 - INFO - Adding interface with subnet_id 93d5f9bd-bdbe-401c-aed5-7d53bef9b0aa, port_id None to router b7addd77-d884-412d-8ca7-dbf4cd5e96a6
2025-10-07 15:48:24,003 - INFO - Waiting for VM ctest-TestRoutersBasic-35383039-03298484 to be up..
2025-10-07 15:48:24,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-07 15:48:29,262 - DEBUG - VM is in ACTIVE state now
2025-10-07 15:48:29,262 - INFO - VM name : ctest-TestRoutersBasic-35383039-03298484
2025-10-07 15:48:29,342 - DEBUG - VM ctest-TestRoutersBasic-35383039-03298484 ID is 7950919e-bde4-45cb-a942-4c21df097a4a
2025-10-07 15:48:29,362 - DEBUG - VM ctest-TestRoutersBasic-35383039-03298484 launched on Node cn-jenkins-deploy-platform-ansible-os-4229-1
2025-10-07 15:48:29,441 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7950919e-bde4-45cb-a942-4c21df097a4a
2025-10-07 15:48:29,778 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7950919e-bde4-45cb-a942-4c21df097a4a
2025-10-07 15:48:29,810 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1077f1bf-727b-4efb-8ef8-156e50732d5e
2025-10-07 15:48:33,066 - 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 1009ms')
2025-10-07 15:48:33,066 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35383039-03298484 failed!
2025-10-07 15:48:33,125 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35383039:ctest-vn-84085610 is 61.137.229.65 and allocation pool is NOT set
2025-10-07 15:48:35,188 - 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=4.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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.328/2.748/4.169/1.420 ms')
2025-10-07 15:48:35,189 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35383039-03298484 passed
2025-10-07 15:48:35,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 15:48:35,301 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35383039-03298484, IP 61.137.229.67, Port 22
2025-10-07 15:48:35,366 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-07 15:48:35,448 - DEBUG - VM ctest-TestRoutersBasic-35383039-03298484 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-07 15:48:40,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 15:48:40,449 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35383039-03298484, IP 61.137.229.67, Port 22
2025-10-07 15:48:40,609 - DEBUG - VM ctest-TestRoutersBasic-35383039-03298484 is ready for SSH connections
2025-10-07 15:48:40,609 - INFO - Waiting for VM ctest-TestRoutersBasic-35383039-55583318 to be up..
2025-10-07 15:48:40,706 - DEBUG - VM is in ACTIVE state now
2025-10-07 15:48:40,706 - INFO - VM name : ctest-TestRoutersBasic-35383039-55583318
2025-10-07 15:48:40,782 - DEBUG - VM ctest-TestRoutersBasic-35383039-55583318 ID is a2d4e7e8-c030-419a-9ee0-5e0756f83f3c
2025-10-07 15:48:40,782 - DEBUG - VM ctest-TestRoutersBasic-35383039-55583318 launched on Node cn-jenkins-deploy-platform-ansible-os-4229-1
2025-10-07 15:48:40,865 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a2d4e7e8-c030-419a-9ee0-5e0756f83f3c
2025-10-07 15:48:40,875 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/009fa2d3-4b55-4143-af32-fda5f28588bd
2025-10-07 15:48:42,119 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.779/3.148/1.369 ms')
2025-10-07 15:48:42,119 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35383039-55583318 passed
2025-10-07 15:48:42,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 15:48:42,273 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35383039-55583318, IP 144.43.50.131, Port 22
2025-10-07 15:48:42,432 - DEBUG - VM ctest-TestRoutersBasic-35383039-55583318 is ready for SSH connections
2025-10-07 15:48:42,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-07 15:48:42,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.43.50.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-07 15:48:42,433 - DEBUG - ping -s 56 -c 3 -W 1 144.43.50.131
2025-10-07 15:48:46,184 - DEBUG - PING 144.43.50.131 (144.43.50.131): 56 data bytes
64 bytes from 144.43.50.131: seq=0 ttl=62 time=6.262 ms
64 bytes from 144.43.50.131: seq=1 ttl=62 time=1.261 ms
64 bytes from 144.43.50.131: seq=2 ttl=62 time=0.846 ms
--- 144.43.50.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.846/2.789/6.262 ms
2025-10-07 15:48:46,184 - INFO - Ping to IP 144.43.50.131 from VM ctest-TestRoutersBasic-35383039-03298484 passed
2025-10-07 15:48:46,184 - INFO - Deleting interface with subnet_id 93d5f9bd-bdbe-401c-aed5-7d53bef9b0aa, port_id None from router b7addd77-d884-412d-8ca7-dbf4cd5e96a6
2025-10-07 15:48:46,395 - INFO - Deleting VM ctest-TestRoutersBasic-35383039-55583318
2025-10-07 15:48:46,471 - INFO - Deleting VM ctest-TestRoutersBasic-35383039-03298484
2025-10-07 15:48:46,548 - INFO - Deleting VN ctest-ext_vn-88339008
2025-10-07 15:48:46,633 - DEBUG - VN 1d1a04b8-ee2a-4c68-a4c5-68fb868e5eca still in use: Unable to complete operation on network 1d1a04b8-ee2a-4c68-a4c5-68fb868e5eca. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cd1e8e4f-e2ea-467d-8768-16c9f222ed31']
2025-10-07 15:48:46,633 - WARNING - Deleting VN ctest-ext_vn-88339008 failed..Will retry
2025-10-07 15:48:48,752 - DEBUG - Response for deleting network ()
2025-10-07 15:48:48,752 - INFO - Deleting VN ctest-vn-84085610
2025-10-07 15:48:48,858 - DEBUG - Response for deleting network ()
2025-10-07 15:48:49,124 - DEBUG - No XMPP flaps were noticed during the test
2025-10-07 15:48:49,124 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-07 15:48:49,124 - INFO - --------------------------------------------------------------------------------
2025-10-07 15:48:49,830 - INFO - Deleted project: ctest-TestRoutersBasic-35383039, ID : 685285d3-5680-4d06-8d51-f1595449ad3c