2025-10-27 01:14:02,845 - INFO - Domain Default found not creating
2025-10-27 01:14:03,006 - INFO - Project ctest-TestRoutersBasic-78183644 not found, creating it
2025-10-27 01:14:03,501 - INFO - Created Project:ctest-TestRoutersBasic-78183644, ID : c161e30c-ca6e-4ea4-95b3-6dee7a18e099
2025-10-27 01:14:05,082 - INFO - ================================================================================
2025-10-27 01:14:05,082 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-27 01:14:05,082 - 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-27 01:14:05,341 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-10-27 01:14:05,341 - INFO - Initial checks done. Running the testcase now
2025-10-27 01:14:05,341 - INFO -
2025-10-27 01:14:06,117 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78183644
2025-10-27 01:14:06,215 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78183644
2025-10-27 01:14:06,547 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78183644', 'default']}
2025-10-27 01:14:06,856 - DEBUG - Response for create_network : {'network': {'id': 'c7a1145c-d47f-401a-8184-a9413464feb4', 'name': 'ctest-vn-94373479', 'tenant_id': 'c161e30cca6e4ea495b36dee7a18e099', 'project_id': 'c161e30cca6e4ea495b36dee7a18e099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78183644', 'ctest-vn-94373479'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 01:14:07,079 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7e9a44f-55ad-4430-af96-dc68c6b34630', 'name': '', 'tenant_id': 'c161e30cca6e4ea495b36dee7a18e099', 'network_id': 'c7a1145c-d47f-401a-8184-a9413464feb4', 'ip_version': 4, 'cidr': '105.37.89.64/26', 'allocation_pools': [{'start': '105.37.89.66', 'end': '105.37.89.126'}], 'gateway_ip': '105.37.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.37.89.66', 'tags': [], 'project_id': 'c161e30cca6e4ea495b36dee7a18e099'}}
2025-10-27 01:14:07,096 - INFO - Created VN ctest-vn-94373479
2025-10-27 01:14:07,147 - DEBUG - VN ctest-vn-94373479 UUID is c7a1145c-d47f-401a-8184-a9413464feb4
2025-10-27 01:14:07,457 - DEBUG - Response for create_network : {'network': {'id': 'e2101d3d-85b8-4401-9c63-398322c8995b', 'name': 'ctest-ext_vn-27371080', 'tenant_id': 'c161e30cca6e4ea495b36dee7a18e099', 'project_id': 'c161e30cca6e4ea495b36dee7a18e099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78183644', 'ctest-ext_vn-27371080'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 01:14:07,647 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d7f4e4d-ce91-4d57-825d-8add1b90a7bb', 'name': '', 'tenant_id': 'c161e30cca6e4ea495b36dee7a18e099', 'network_id': 'e2101d3d-85b8-4401-9c63-398322c8995b', 'ip_version': 4, 'cidr': '69.81.28.192/26', 'allocation_pools': [{'start': '69.81.28.194', 'end': '69.81.28.254'}], 'gateway_ip': '69.81.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.81.28.194', 'tags': [], 'project_id': 'c161e30cca6e4ea495b36dee7a18e099'}}
2025-10-27 01:14:07,669 - INFO - Created VN ctest-ext_vn-27371080
2025-10-27 01:14:07,723 - DEBUG - VN ctest-ext_vn-27371080 UUID is e2101d3d-85b8-4401-9c63-398322c8995b
2025-10-27 01:14:07,888 - DEBUG - Services list from nova: [, , ]
2025-10-27 01:14:09,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4485-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4485-1)
2025-10-27 01:14:10,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4485-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4485-1)
2025-10-27 01:14:10,364 - INFO - Setting gateway for router 303e1a91-b434-456d-b184-c51161fa57f5 to network e2101d3d-85b8-4401-9c63-398322c8995b
2025-10-27 01:14:10,449 - INFO - Adding interface with subnet_id b7e9a44f-55ad-4430-af96-dc68c6b34630, port_id None to router 303e1a91-b434-456d-b184-c51161fa57f5
2025-10-27 01:14:10,851 - INFO - Waiting for VM ctest-TestRoutersBasic-78183644-92818271 to be up..
2025-10-27 01:14:11,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 01:14:16,138 - DEBUG - VM is in ACTIVE state now
2025-10-27 01:14:16,138 - INFO - VM name : ctest-TestRoutersBasic-78183644-92818271
2025-10-27 01:14:16,216 - DEBUG - VM ctest-TestRoutersBasic-78183644-92818271 ID is b3cfb4be-74e2-4e21-befb-5dd02bba09cb
2025-10-27 01:14:16,236 - DEBUG - VM ctest-TestRoutersBasic-78183644-92818271 launched on Node cn-jenkins-deploy-platform-ansible-os-4485-1
2025-10-27 01:14:16,310 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b3cfb4be-74e2-4e21-befb-5dd02bba09cb
2025-10-27 01:14:16,645 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b3cfb4be-74e2-4e21-befb-5dd02bba09cb
2025-10-27 01:14:16,683 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b6a726b4-e29d-41c1-aa35-d1751bf97b16
2025-10-27 01:14:19,935 - 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 1005ms')
2025-10-27 01:14:19,935 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78183644-92818271 failed!
2025-10-27 01:14:19,995 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78183644:ctest-vn-94373479 is 105.37.89.65 and allocation pool is NOT set
2025-10-27 01:14:22,058 - 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=6.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.59 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 = 1.593/4.252/6.911/2.659 ms')
2025-10-27 01:14:22,058 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78183644-92818271 passed
2025-10-27 01:14:22,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 01:14:22,215 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78183644-92818271, IP 105.37.89.67, Port 22
2025-10-27 01:14:22,270 - 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-27 01:14:22,356 - DEBUG - VM ctest-TestRoutersBasic-78183644-92818271 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-27 01:14:27,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 01:14:27,357 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78183644-92818271, IP 105.37.89.67, Port 22
2025-10-27 01:14:27,525 - DEBUG - VM ctest-TestRoutersBasic-78183644-92818271 is ready for SSH connections
2025-10-27 01:14:27,525 - INFO - Waiting for VM ctest-TestRoutersBasic-78183644-17413198 to be up..
2025-10-27 01:14:27,610 - DEBUG - VM is in ACTIVE state now
2025-10-27 01:14:27,610 - INFO - VM name : ctest-TestRoutersBasic-78183644-17413198
2025-10-27 01:14:27,685 - DEBUG - VM ctest-TestRoutersBasic-78183644-17413198 ID is 6b9aa4fa-a602-4c64-b8da-1b4278c6dc1b
2025-10-27 01:14:27,685 - DEBUG - VM ctest-TestRoutersBasic-78183644-17413198 launched on Node cn-jenkins-deploy-platform-ansible-os-4485-1
2025-10-27 01:14:27,763 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6b9aa4fa-a602-4c64-b8da-1b4278c6dc1b
2025-10-27 01:14:27,773 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/34d196ac-143c-4e93-b4f0-e6749713fc02
2025-10-27 01:14:29,016 - 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=4.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.460 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.460/2.410/4.361/1.950 ms')
2025-10-27 01:14:29,016 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78183644-17413198 passed
2025-10-27 01:14:29,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 01:14:29,171 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78183644-17413198, IP 69.81.28.195, Port 22
2025-10-27 01:14:29,335 - DEBUG - VM ctest-TestRoutersBasic-78183644-17413198 is ready for SSH connections
2025-10-27 01:14:29,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 01:14:29,335 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.81.28.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-27 01:14:29,335 - DEBUG - ping -s 56 -c 3 -W 1 69.81.28.195
2025-10-27 01:14:33,403 - DEBUG - PING 69.81.28.195 (69.81.28.195): 56 data bytes
64 bytes from 69.81.28.195: seq=0 ttl=62 time=6.363 ms
64 bytes from 69.81.28.195: seq=1 ttl=62 time=1.042 ms
64 bytes from 69.81.28.195: seq=2 ttl=62 time=1.176 ms
--- 69.81.28.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.042/2.860/6.363 ms
2025-10-27 01:14:33,403 - INFO - Ping to IP 69.81.28.195 from VM ctest-TestRoutersBasic-78183644-92818271 passed
2025-10-27 01:14:33,403 - INFO - Deleting interface with subnet_id b7e9a44f-55ad-4430-af96-dc68c6b34630, port_id None from router 303e1a91-b434-456d-b184-c51161fa57f5
2025-10-27 01:14:33,596 - INFO - Deleting VM ctest-TestRoutersBasic-78183644-17413198
2025-10-27 01:14:33,678 - INFO - Deleting VM ctest-TestRoutersBasic-78183644-92818271
2025-10-27 01:14:33,767 - INFO - Deleting VN ctest-ext_vn-27371080
2025-10-27 01:14:33,824 - DEBUG - VN e2101d3d-85b8-4401-9c63-398322c8995b still in use: Unable to complete operation on network e2101d3d-85b8-4401-9c63-398322c8995b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e10794b7-c578-4af0-873d-4aac2c1801a4']
2025-10-27 01:14:33,824 - WARNING - Deleting VN ctest-ext_vn-27371080 failed..Will retry
2025-10-27 01:14:35,957 - DEBUG - Response for deleting network ()
2025-10-27 01:14:35,957 - INFO - Deleting VN ctest-vn-94373479
2025-10-27 01:14:36,083 - DEBUG - Response for deleting network ()
2025-10-27 01:14:36,352 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 01:14:36,352 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-27 01:14:36,352 - INFO - --------------------------------------------------------------------------------
2025-10-27 01:14:37,091 - INFO - Deleted project: ctest-TestRoutersBasic-78183644, ID : c161e30c-ca6e-4ea4-95b3-6dee7a18e099