2025-10-09 23:00:33,469 - INFO - Domain Default found not creating
2025-10-09 23:00:33,589 - INFO - Project ctest-TestRoutersBasic-34106355 not found, creating it
2025-10-09 23:00:34,039 - INFO - Created Project:ctest-TestRoutersBasic-34106355, ID : db463f09-5bd3-4106-a5c6-b4a3f6395a38
2025-10-09 23:00:35,347 - INFO - ================================================================================
2025-10-09 23:00:35,347 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-09 23:00:35,347 - 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-09 23:00:35,597 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-09 23:00:35,597 - INFO - Initial checks done. Running the testcase now
2025-10-09 23:00:35,597 - INFO -
2025-10-09 23:00:36,261 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34106355
2025-10-09 23:00:36,357 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34106355
2025-10-09 23:00:36,672 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34106355', 'default']}
2025-10-09 23:00:36,932 - DEBUG - Response for create_network : {'network': {'id': 'ddc39f1a-4131-4058-8449-c691765d8f1c', 'name': 'ctest-vn-33875944', 'tenant_id': 'db463f095bd34106a5c6b4a3f6395a38', 'project_id': 'db463f095bd34106a5c6b4a3f6395a38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34106355', 'ctest-vn-33875944'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 23:00:37,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c091ab6-3ea7-4cc4-a2c3-0ef44578d015', 'name': '', 'tenant_id': 'db463f095bd34106a5c6b4a3f6395a38', 'network_id': 'ddc39f1a-4131-4058-8449-c691765d8f1c', 'ip_version': 4, 'cidr': '159.86.57.0/26', 'allocation_pools': [{'start': '159.86.57.2', 'end': '159.86.57.62'}], 'gateway_ip': '159.86.57.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.86.57.2', 'tags': [], 'project_id': 'db463f095bd34106a5c6b4a3f6395a38'}}
2025-10-09 23:00:37,147 - INFO - Created VN ctest-vn-33875944
2025-10-09 23:00:37,196 - DEBUG - VN ctest-vn-33875944 UUID is ddc39f1a-4131-4058-8449-c691765d8f1c
2025-10-09 23:00:37,513 - DEBUG - Response for create_network : {'network': {'id': '26f4b20d-6159-4184-a6da-e7e0e6481cf2', 'name': 'ctest-ext_vn-99145283', 'tenant_id': 'db463f095bd34106a5c6b4a3f6395a38', 'project_id': 'db463f095bd34106a5c6b4a3f6395a38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34106355', 'ctest-ext_vn-99145283'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 23:00:37,658 - DEBUG - Response for create_subnet : {'subnet': {'id': '41b08882-9173-41c2-81e5-ac02fb4e4ae0', 'name': '', 'tenant_id': 'db463f095bd34106a5c6b4a3f6395a38', 'network_id': '26f4b20d-6159-4184-a6da-e7e0e6481cf2', 'ip_version': 4, 'cidr': '32.178.51.128/26', 'allocation_pools': [{'start': '32.178.51.130', 'end': '32.178.51.190'}], 'gateway_ip': '32.178.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.178.51.130', 'tags': [], 'project_id': 'db463f095bd34106a5c6b4a3f6395a38'}}
2025-10-09 23:00:37,674 - INFO - Created VN ctest-ext_vn-99145283
2025-10-09 23:00:37,724 - DEBUG - VN ctest-ext_vn-99145283 UUID is 26f4b20d-6159-4184-a6da-e7e0e6481cf2
2025-10-09 23:00:37,918 - DEBUG - Services list from nova: [, , ]
2025-10-09 23:00:38,859 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4281-1)
2025-10-09 23:00:39,899 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4281-1)
2025-10-09 23:00:39,970 - INFO - Setting gateway for router 579eb229-76c1-4f88-9b8a-31a7892e7496 to network 26f4b20d-6159-4184-a6da-e7e0e6481cf2
2025-10-09 23:00:40,034 - INFO - Adding interface with subnet_id 4c091ab6-3ea7-4cc4-a2c3-0ef44578d015, port_id None to router 579eb229-76c1-4f88-9b8a-31a7892e7496
2025-10-09 23:00:40,400 - INFO - Waiting for VM ctest-TestRoutersBasic-34106355-10967663 to be up..
2025-10-09 23:00:40,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 23:00:45,612 - DEBUG - VM is in ACTIVE state now
2025-10-09 23:00:45,612 - INFO - VM name : ctest-TestRoutersBasic-34106355-10967663
2025-10-09 23:00:45,671 - DEBUG - VM ctest-TestRoutersBasic-34106355-10967663 ID is 77b589a3-9e1f-4991-bec6-d5b5d843f7d6
2025-10-09 23:00:45,688 - DEBUG - VM ctest-TestRoutersBasic-34106355-10967663 launched on Node cn-jenkins-deploy-platform-ansible-os-4281-1
2025-10-09 23:00:45,749 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/77b589a3-9e1f-4991-bec6-d5b5d843f7d6
2025-10-09 23:00:46,036 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/77b589a3-9e1f-4991-bec6-d5b5d843f7d6
2025-10-09 23:00:46,061 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/704460f9-e86d-4684-b833-995254961e76
2025-10-09 23:00:49,302 - 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=2 ttl=63 time=13.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 13.217/13.217/13.217/0.000 ms')
2025-10-09 23:00:49,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34106355-10967663 passed
2025-10-09 23:00:49,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 23:00:49,448 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34106355-10967663, IP 159.86.57.3, Port 22
2025-10-09 23:00:49,514 - 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-09 23:00:49,575 - DEBUG - VM ctest-TestRoutersBasic-34106355-10967663 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 23:00:54,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 23:00:54,576 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34106355-10967663, IP 159.86.57.3, Port 22
2025-10-09 23:00:54,728 - DEBUG - VM ctest-TestRoutersBasic-34106355-10967663 is ready for SSH connections
2025-10-09 23:00:54,728 - INFO - Waiting for VM ctest-TestRoutersBasic-34106355-29278684 to be up..
2025-10-09 23:00:54,794 - DEBUG - VM is in ACTIVE state now
2025-10-09 23:00:54,794 - INFO - VM name : ctest-TestRoutersBasic-34106355-29278684
2025-10-09 23:00:54,858 - DEBUG - VM ctest-TestRoutersBasic-34106355-29278684 ID is e36b5ea2-10a8-4dd1-bcf9-7f3d0a81a77b
2025-10-09 23:00:54,858 - DEBUG - VM ctest-TestRoutersBasic-34106355-29278684 launched on Node cn-jenkins-deploy-platform-ansible-os-4281-1
2025-10-09 23:00:54,918 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e36b5ea2-10a8-4dd1-bcf9-7f3d0a81a77b
2025-10-09 23:00:54,924 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4933ae6f-764d-4990-acd5-cbfb81faa1aa
2025-10-09 23:00:56,155 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.305 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.305/1.477/2.650/1.172 ms')
2025-10-09 23:00:56,155 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34106355-29278684 passed
2025-10-09 23:00:56,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 23:00:56,300 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34106355-29278684, IP 32.178.51.131, Port 22
2025-10-09 23:00:56,452 - DEBUG - VM ctest-TestRoutersBasic-34106355-29278684 is ready for SSH connections
2025-10-09 23:00:56,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 23:00:56,452 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.178.51.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-09 23:00:56,452 - DEBUG - ping -s 56 -c 3 -W 1 32.178.51.131
2025-10-09 23:01:00,386 - DEBUG - PING 32.178.51.131 (32.178.51.131): 56 data bytes
64 bytes from 32.178.51.131: seq=0 ttl=62 time=4.531 ms
64 bytes from 32.178.51.131: seq=1 ttl=62 time=0.789 ms
64 bytes from 32.178.51.131: seq=2 ttl=62 time=0.716 ms
--- 32.178.51.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.716/2.012/4.531 ms
2025-10-09 23:01:00,386 - INFO - Ping to IP 32.178.51.131 from VM ctest-TestRoutersBasic-34106355-10967663 passed
2025-10-09 23:01:00,386 - INFO - Deleting interface with subnet_id 4c091ab6-3ea7-4cc4-a2c3-0ef44578d015, port_id None from router 579eb229-76c1-4f88-9b8a-31a7892e7496
2025-10-09 23:01:00,539 - INFO - Deleting VM ctest-TestRoutersBasic-34106355-29278684
2025-10-09 23:01:00,601 - INFO - Deleting VM ctest-TestRoutersBasic-34106355-10967663
2025-10-09 23:01:00,672 - INFO - Deleting VN ctest-ext_vn-99145283
2025-10-09 23:01:00,734 - DEBUG - VN 26f4b20d-6159-4184-a6da-e7e0e6481cf2 still in use: Unable to complete operation on network 26f4b20d-6159-4184-a6da-e7e0e6481cf2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c00ca91f-e662-4b2f-9e20-52fa6b715b21']
2025-10-09 23:01:00,734 - WARNING - Deleting VN ctest-ext_vn-99145283 failed..Will retry
2025-10-09 23:01:02,815 - DEBUG - Response for deleting network ()
2025-10-09 23:01:02,816 - INFO - Deleting VN ctest-vn-33875944
2025-10-09 23:01:02,894 - DEBUG - Response for deleting network ()
2025-10-09 23:01:03,145 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 23:01:03,145 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-10-09 23:01:03,145 - INFO - --------------------------------------------------------------------------------
2025-10-09 23:01:03,779 - INFO - Deleted project: ctest-TestRoutersBasic-34106355, ID : db463f09-5bd3-4106-a5c6-b4a3f6395a38