2025-10-17 14:51:02,481 - INFO - Domain Default found not creating
2025-10-17 14:51:02,671 - INFO - Project ctest-TestRoutersBasic-77065532 not found, creating it
2025-10-17 14:51:03,187 - INFO - Created Project:ctest-TestRoutersBasic-77065532, ID : 7a8c1970-c4a3-4494-838e-0bdff9dc5d77
2025-10-17 14:51:04,798 - INFO - ================================================================================
2025-10-17 14:51:04,799 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-17 14:51:04,799 - 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-17 14:51:05,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2025-10-17 14:51:05,065 - INFO - Initial checks done. Running the testcase now
2025-10-17 14:51:05,065 - INFO -
2025-10-17 14:51:05,852 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77065532
2025-10-17 14:51:05,953 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77065532
2025-10-17 14:51:06,297 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77065532', 'default']}
2025-10-17 14:51:06,621 - DEBUG - Response for create_network : {'network': {'id': '5c86995a-9bac-4c8f-b234-ccebed14c81b', 'name': 'ctest-vn-62559286', 'tenant_id': '7a8c1970c4a34494838e0bdff9dc5d77', 'project_id': '7a8c1970c4a34494838e0bdff9dc5d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77065532', 'ctest-vn-62559286'], 'port_security_enabled': True, 'description': ''}}
2025-10-17 14:51:06,857 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9179c44-be2d-4659-b65c-9929ca8a815e', 'name': '', 'tenant_id': '7a8c1970c4a34494838e0bdff9dc5d77', 'network_id': '5c86995a-9bac-4c8f-b234-ccebed14c81b', 'ip_version': 4, 'cidr': '106.180.234.128/26', 'allocation_pools': [{'start': '106.180.234.130', 'end': '106.180.234.190'}], 'gateway_ip': '106.180.234.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.180.234.130', 'tags': [], 'project_id': '7a8c1970c4a34494838e0bdff9dc5d77'}}
2025-10-17 14:51:06,889 - INFO - Created VN ctest-vn-62559286
2025-10-17 14:51:06,945 - DEBUG - VN ctest-vn-62559286 UUID is 5c86995a-9bac-4c8f-b234-ccebed14c81b
2025-10-17 14:51:07,423 - DEBUG - Response for create_network : {'network': {'id': 'bc9c9f9d-f008-472a-ae4c-7c305d1e962a', 'name': 'ctest-ext_vn-45400564', 'tenant_id': '7a8c1970c4a34494838e0bdff9dc5d77', 'project_id': '7a8c1970c4a34494838e0bdff9dc5d77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77065532', 'ctest-ext_vn-45400564'], 'port_security_enabled': True, 'description': ''}}
2025-10-17 14:51:07,630 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd8c05d9-889e-4fe6-a5e2-e9dfb9d6b76f', 'name': '', 'tenant_id': '7a8c1970c4a34494838e0bdff9dc5d77', 'network_id': 'bc9c9f9d-f008-472a-ae4c-7c305d1e962a', 'ip_version': 4, 'cidr': '136.167.68.64/26', 'allocation_pools': [{'start': '136.167.68.66', 'end': '136.167.68.126'}], 'gateway_ip': '136.167.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.167.68.66', 'tags': [], 'project_id': '7a8c1970c4a34494838e0bdff9dc5d77'}}
2025-10-17 14:51:07,654 - INFO - Created VN ctest-ext_vn-45400564
2025-10-17 14:51:07,709 - DEBUG - VN ctest-ext_vn-45400564 UUID is bc9c9f9d-f008-472a-ae4c-7c305d1e962a
2025-10-17 14:51:07,893 - DEBUG - Services list from nova: [, , ]
2025-10-17 14:51:09,022 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4355-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4355-1)
2025-10-17 14:51:10,315 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4355-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4355-1)
2025-10-17 14:51:10,409 - INFO - Setting gateway for router c48d9aa9-5762-49cd-9f2b-415decac0405 to network bc9c9f9d-f008-472a-ae4c-7c305d1e962a
2025-10-17 14:51:10,482 - INFO - Adding interface with subnet_id c9179c44-be2d-4659-b65c-9929ca8a815e, port_id None to router c48d9aa9-5762-49cd-9f2b-415decac0405
2025-10-17 14:51:10,870 - INFO - Waiting for VM ctest-TestRoutersBasic-77065532-03458002 to be up..
2025-10-17 14:51:11,021 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-17 14:51:16,133 - DEBUG - VM is in ACTIVE state now
2025-10-17 14:51:16,133 - INFO - VM name : ctest-TestRoutersBasic-77065532-03458002
2025-10-17 14:51:16,233 - DEBUG - VM ctest-TestRoutersBasic-77065532-03458002 ID is fd62c84c-a06a-4b86-ab38-c663e817c85d
2025-10-17 14:51:16,273 - DEBUG - VM ctest-TestRoutersBasic-77065532-03458002 launched on Node cn-jenkins-deploy-platform-ansible-os-4355-1
2025-10-17 14:51:16,416 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/fd62c84c-a06a-4b86-ab38-c663e817c85d
2025-10-17 14:51:16,731 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/fd62c84c-a06a-4b86-ab38-c663e817c85d
2025-10-17 14:51:16,783 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/21c92ebe-3b9f-493c-9696-50a0a1dbe9ae
2025-10-17 14:51:20,056 - 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 1015ms')
2025-10-17 14:51:20,056 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77065532-03458002 failed!
2025-10-17 14:51:20,113 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77065532:ctest-vn-62559286 is 106.180.234.129 and allocation pool is NOT set
2025-10-17 14:51:22,185 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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.535/2.940/3.345/0.405 ms')
2025-10-17 14:51:22,185 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77065532-03458002 passed
2025-10-17 14:51:22,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-17 14:51:22,341 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77065532-03458002, IP 106.180.234.131, Port 22
2025-10-17 14:51:22,407 - 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-17 14:51:22,506 - DEBUG - VM ctest-TestRoutersBasic-77065532-03458002 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-17 14:51:27,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-17 14:51:27,507 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77065532-03458002, IP 106.180.234.131, Port 22
2025-10-17 14:51:27,675 - DEBUG - VM ctest-TestRoutersBasic-77065532-03458002 is ready for SSH connections
2025-10-17 14:51:27,676 - INFO - Waiting for VM ctest-TestRoutersBasic-77065532-14791489 to be up..
2025-10-17 14:51:27,782 - DEBUG - VM is in ACTIVE state now
2025-10-17 14:51:27,782 - INFO - VM name : ctest-TestRoutersBasic-77065532-14791489
2025-10-17 14:51:27,877 - DEBUG - VM ctest-TestRoutersBasic-77065532-14791489 ID is aea4bd6d-b8a2-4cf6-b957-0eb76f409d62
2025-10-17 14:51:27,877 - DEBUG - VM ctest-TestRoutersBasic-77065532-14791489 launched on Node cn-jenkins-deploy-platform-ansible-os-4355-1
2025-10-17 14:51:27,970 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/aea4bd6d-b8a2-4cf6-b957-0eb76f409d62
2025-10-17 14:51:27,983 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/868f48e3-b5b9-4c7e-8719-e7bed537f5cd
2025-10-17 14:51:29,227 - 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=2.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.551 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.551/1.758/2.966/1.207 ms')
2025-10-17 14:51:29,228 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77065532-14791489 passed
2025-10-17 14:51:29,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-17 14:51:29,385 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77065532-14791489, IP 136.167.68.67, Port 22
2025-10-17 14:51:29,551 - DEBUG - VM ctest-TestRoutersBasic-77065532-14791489 is ready for SSH connections
2025-10-17 14:51:29,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-17 14:51:29,551 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.167.68.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-17 14:51:29,551 - DEBUG - ping -s 56 -c 3 -W 1 136.167.68.67
2025-10-17 14:51:33,341 - DEBUG - PING 136.167.68.67 (136.167.68.67): 56 data bytes
64 bytes from 136.167.68.67: seq=0 ttl=62 time=7.223 ms
64 bytes from 136.167.68.67: seq=1 ttl=62 time=1.157 ms
64 bytes from 136.167.68.67: seq=2 ttl=62 time=1.623 ms
--- 136.167.68.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.157/3.334/7.223 ms
2025-10-17 14:51:33,341 - INFO - Ping to IP 136.167.68.67 from VM ctest-TestRoutersBasic-77065532-03458002 passed
2025-10-17 14:51:33,341 - INFO - Deleting interface with subnet_id c9179c44-be2d-4659-b65c-9929ca8a815e, port_id None from router c48d9aa9-5762-49cd-9f2b-415decac0405
2025-10-17 14:51:33,587 - INFO - Deleting VM ctest-TestRoutersBasic-77065532-14791489
2025-10-17 14:51:33,679 - INFO - Deleting VM ctest-TestRoutersBasic-77065532-03458002
2025-10-17 14:51:33,771 - INFO - Deleting VN ctest-ext_vn-45400564
2025-10-17 14:51:33,856 - DEBUG - VN bc9c9f9d-f008-472a-ae4c-7c305d1e962a still in use: Unable to complete operation on network bc9c9f9d-f008-472a-ae4c-7c305d1e962a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-aabd39ad-2114-455a-91de-8fe7ba2f954e']
2025-10-17 14:51:33,856 - WARNING - Deleting VN ctest-ext_vn-45400564 failed..Will retry
2025-10-17 14:51:35,981 - DEBUG - Response for deleting network ()
2025-10-17 14:51:35,982 - INFO - Deleting VN ctest-vn-62559286
2025-10-17 14:51:36,122 - DEBUG - Response for deleting network ()
2025-10-17 14:51:36,397 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 14:51:36,397 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-10-17 14:51:36,397 - INFO - --------------------------------------------------------------------------------
2025-10-17 14:51:37,133 - INFO - Deleted project: ctest-TestRoutersBasic-77065532, ID : 7a8c1970-c4a3-4494-838e-0bdff9dc5d77