2025-12-22 02:12:22,687 - INFO - Domain Default found not creating
2025-12-22 02:12:22,874 - INFO - Project ctest-TestRoutersBasic-37875129 not found, creating it
2025-12-22 02:12:23,398 - INFO - Created Project:ctest-TestRoutersBasic-37875129, ID : 5543e51a-cc73-4cff-9b00-4ab2f4998120
2025-12-22 02:12:25,043 - INFO - ================================================================================
2025-12-22 02:12:25,043 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-12-22 02:12:25,043 - 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-12-22 02:12:25,304 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.249': '0'}} with
2025-12-22 02:12:25,304 - INFO - Initial checks done. Running the testcase now
2025-12-22 02:12:25,304 - INFO -
2025-12-22 02:12:26,046 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37875129
2025-12-22 02:12:26,145 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37875129
2025-12-22 02:12:26,473 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37875129', 'default']}
2025-12-22 02:12:26,780 - DEBUG - Response for create_network : {'network': {'id': 'cc6a3b2a-316e-432b-85ba-1fa31f93aae5', 'name': 'ctest-vn-74853294', 'tenant_id': '5543e51acc734cff9b004ab2f4998120', 'project_id': '5543e51acc734cff9b004ab2f4998120', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37875129', 'ctest-vn-74853294'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:12:26,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '48fd10c0-8a14-4d70-864a-23c3647b6b3e', 'name': '', 'tenant_id': '5543e51acc734cff9b004ab2f4998120', 'network_id': 'cc6a3b2a-316e-432b-85ba-1fa31f93aae5', 'ip_version': 4, 'cidr': '60.252.34.0/26', 'allocation_pools': [{'start': '60.252.34.2', 'end': '60.252.34.62'}], 'gateway_ip': '60.252.34.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.252.34.2', 'tags': [], 'project_id': '5543e51acc734cff9b004ab2f4998120'}}
2025-12-22 02:12:26,982 - INFO - Created VN ctest-vn-74853294
2025-12-22 02:12:27,033 - DEBUG - VN ctest-vn-74853294 UUID is cc6a3b2a-316e-432b-85ba-1fa31f93aae5
2025-12-22 02:12:27,356 - DEBUG - Response for create_network : {'network': {'id': '63324107-4416-4404-8aa8-af54da476e38', 'name': 'ctest-ext_vn-53486570', 'tenant_id': '5543e51acc734cff9b004ab2f4998120', 'project_id': '5543e51acc734cff9b004ab2f4998120', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37875129', 'ctest-ext_vn-53486570'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:12:27,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '23aeb3c1-7b22-49ad-a1d3-427df2171e62', 'name': '', 'tenant_id': '5543e51acc734cff9b004ab2f4998120', 'network_id': '63324107-4416-4404-8aa8-af54da476e38', 'ip_version': 4, 'cidr': '118.150.0.192/26', 'allocation_pools': [{'start': '118.150.0.194', 'end': '118.150.0.254'}], 'gateway_ip': '118.150.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.150.0.194', 'tags': [], 'project_id': '5543e51acc734cff9b004ab2f4998120'}}
2025-12-22 02:12:27,600 - INFO - Created VN ctest-ext_vn-53486570
2025-12-22 02:12:27,653 - DEBUG - VN ctest-ext_vn-53486570 UUID is 63324107-4416-4404-8aa8-af54da476e38
2025-12-22 02:12:27,840 - DEBUG - Services list from nova: [, , ]
2025-12-22 02:12:28,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4917-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4917-1)
2025-12-22 02:12:30,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4917-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4917-1)
2025-12-22 02:12:30,290 - INFO - Setting gateway for router 1c955475-6373-46da-828e-d9a7b8ebc3f9 to network 63324107-4416-4404-8aa8-af54da476e38
2025-12-22 02:12:30,387 - INFO - Adding interface with subnet_id 48fd10c0-8a14-4d70-864a-23c3647b6b3e, port_id None to router 1c955475-6373-46da-828e-d9a7b8ebc3f9
2025-12-22 02:12:30,759 - INFO - Waiting for VM ctest-TestRoutersBasic-37875129-38647531 to be up..
2025-12-22 02:12:30,952 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-22 02:12:36,037 - DEBUG - VM is in ACTIVE state now
2025-12-22 02:12:36,037 - INFO - VM name : ctest-TestRoutersBasic-37875129-38647531
2025-12-22 02:12:36,126 - DEBUG - VM ctest-TestRoutersBasic-37875129-38647531 ID is aa951ba4-ffc3-4758-baa4-9f4408e01102
2025-12-22 02:12:36,149 - DEBUG - VM ctest-TestRoutersBasic-37875129-38647531 launched on Node cn-jenkins-deploy-platform-ansible-os-4917-1
2025-12-22 02:12:36,234 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/aa951ba4-ffc3-4758-baa4-9f4408e01102
2025-12-22 02:12:36,545 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/aa951ba4-ffc3-4758-baa4-9f4408e01102
2025-12-22 02:12:36,584 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/dfadcc14-ed1d-4ed0-a173-23c6c83b807d
2025-12-22 02:12:39,860 - 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 1017ms')
2025-12-22 02:12:39,860 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37875129-38647531 failed!
2025-12-22 02:12:39,913 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37875129:ctest-vn-74853294 is 60.252.34.1 and allocation pool is NOT set
2025-12-22 02:12:41,973 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.37 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 = 2.366/3.202/4.038/0.836 ms')
2025-12-22 02:12:41,973 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37875129-38647531 passed
2025-12-22 02:12:42,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:12:42,129 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37875129-38647531, IP 60.252.34.3, Port 22
2025-12-22 02:12:42,289 - DEBUG - VM ctest-TestRoutersBasic-37875129-38647531 is ready for SSH connections
2025-12-22 02:12:42,289 - INFO - Waiting for VM ctest-TestRoutersBasic-37875129-90553953 to be up..
2025-12-22 02:12:42,375 - DEBUG - VM is in ACTIVE state now
2025-12-22 02:12:42,375 - INFO - VM name : ctest-TestRoutersBasic-37875129-90553953
2025-12-22 02:12:42,461 - DEBUG - VM ctest-TestRoutersBasic-37875129-90553953 ID is 3f30b4d5-b6c7-4044-99e0-9360c8493fa7
2025-12-22 02:12:42,461 - DEBUG - VM ctest-TestRoutersBasic-37875129-90553953 launched on Node cn-jenkins-deploy-platform-ansible-os-4917-1
2025-12-22 02:12:42,544 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/3f30b4d5-b6c7-4044-99e0-9360c8493fa7
2025-12-22 02:12:42,552 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/eb5fa5f6-5d2a-4f66-8888-546040314e5d
2025-12-22 02:12:43,792 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.88 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 = 2.878/3.042/3.207/0.164 ms')
2025-12-22 02:12:43,792 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37875129-90553953 passed
2025-12-22 02:12:43,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:12:43,949 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37875129-90553953, IP 118.150.0.195, Port 22
2025-12-22 02:12:44,016 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-12-22 02:12:44,096 - DEBUG - VM ctest-TestRoutersBasic-37875129-90553953 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-22 02:12:49,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:12:49,098 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37875129-90553953, IP 118.150.0.195, Port 22
2025-12-22 02:12:49,261 - DEBUG - VM ctest-TestRoutersBasic-37875129-90553953 is ready for SSH connections
2025-12-22 02:12:49,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:12:49,262 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.150.0.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-12-22 02:12:49,262 - DEBUG - ping -s 56 -c 3 -W 1 118.150.0.195
2025-12-22 02:12:53,025 - DEBUG - PING 118.150.0.195 (118.150.0.195): 56 data bytes
64 bytes from 118.150.0.195: seq=0 ttl=62 time=8.618 ms
64 bytes from 118.150.0.195: seq=1 ttl=62 time=1.240 ms
64 bytes from 118.150.0.195: seq=2 ttl=62 time=1.442 ms
--- 118.150.0.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.240/3.766/8.618 ms
2025-12-22 02:12:53,025 - INFO - Ping to IP 118.150.0.195 from VM ctest-TestRoutersBasic-37875129-38647531 passed
2025-12-22 02:12:53,025 - INFO - Deleting interface with subnet_id 48fd10c0-8a14-4d70-864a-23c3647b6b3e, port_id None from router 1c955475-6373-46da-828e-d9a7b8ebc3f9
2025-12-22 02:12:53,210 - INFO - Deleting VM ctest-TestRoutersBasic-37875129-90553953
2025-12-22 02:12:53,289 - INFO - Deleting VM ctest-TestRoutersBasic-37875129-38647531
2025-12-22 02:12:53,392 - INFO - Deleting VN ctest-ext_vn-53486570
2025-12-22 02:12:53,472 - DEBUG - VN 63324107-4416-4404-8aa8-af54da476e38 still in use: Unable to complete operation on network 63324107-4416-4404-8aa8-af54da476e38. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1dd1fab2-9360-4a2a-9cea-45153abd7f64']
2025-12-22 02:12:53,472 - WARNING - Deleting VN ctest-ext_vn-53486570 failed..Will retry
2025-12-22 02:12:55,579 - DEBUG - Response for deleting network ()
2025-12-22 02:12:55,579 - INFO - Deleting VN ctest-vn-74853294
2025-12-22 02:12:55,699 - DEBUG - Response for deleting network ()
2025-12-22 02:12:55,964 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:12:55,964 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-12-22 02:12:55,964 - INFO - --------------------------------------------------------------------------------
2025-12-22 02:12:56,679 - INFO - Deleted project: ctest-TestRoutersBasic-37875129, ID : 5543e51a-cc73-4cff-9b00-4ab2f4998120