2025-11-21 17:06:48,704 - INFO - Domain Default found not creating
2025-11-21 17:06:49,017 - INFO - Project ctest-TestRoutersBasic-52253103 not found, creating it
2025-11-21 17:06:49,802 - INFO - Created Project:ctest-TestRoutersBasic-52253103, ID : 8f0ef47f-d70c-4c2c-986e-1f2887012414
2025-11-21 17:06:52,112 - INFO - ================================================================================
2025-11-21 17:06:52,112 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-21 17:06:52,113 - 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-11-21 17:06:52,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.18': '0'}} with
2025-11-21 17:06:52,449 - INFO - Initial checks done. Running the testcase now
2025-11-21 17:06:52,449 - INFO -
2025-11-21 17:06:53,368 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52253103
2025-11-21 17:06:53,477 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52253103
2025-11-21 17:06:53,893 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52253103', 'default']}
2025-11-21 17:06:54,334 - DEBUG - Response for create_network : {'network': {'id': '65a4e8b6-8fd7-403c-a70a-75368657bbea', 'name': 'ctest-vn-28050419', 'tenant_id': '8f0ef47fd70c4c2c986e1f2887012414', 'project_id': '8f0ef47fd70c4c2c986e1f2887012414', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52253103', 'ctest-vn-28050419'], 'port_security_enabled': True, 'description': ''}}
2025-11-21 17:06:54,542 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e9833c4-ff80-4cc1-9596-71abf8eeb3a1', 'name': '', 'tenant_id': '8f0ef47fd70c4c2c986e1f2887012414', 'network_id': '65a4e8b6-8fd7-403c-a70a-75368657bbea', 'ip_version': 4, 'cidr': '143.146.196.64/26', 'allocation_pools': [{'start': '143.146.196.66', 'end': '143.146.196.126'}], 'gateway_ip': '143.146.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.146.196.66', 'tags': [], 'project_id': '8f0ef47fd70c4c2c986e1f2887012414'}}
2025-11-21 17:06:54,569 - INFO - Created VN ctest-vn-28050419
2025-11-21 17:06:54,625 - DEBUG - VN ctest-vn-28050419 UUID is 65a4e8b6-8fd7-403c-a70a-75368657bbea
2025-11-21 17:06:55,148 - DEBUG - Response for create_network : {'network': {'id': '8d927d5c-f3fa-4b9b-ac46-dbfee07cb9f2', 'name': 'ctest-ext_vn-31712491', 'tenant_id': '8f0ef47fd70c4c2c986e1f2887012414', 'project_id': '8f0ef47fd70c4c2c986e1f2887012414', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52253103', 'ctest-ext_vn-31712491'], 'port_security_enabled': True, 'description': ''}}
2025-11-21 17:06:55,403 - DEBUG - Response for create_subnet : {'subnet': {'id': '894422cf-82e4-4a75-a25a-56f16faa5d8c', 'name': '', 'tenant_id': '8f0ef47fd70c4c2c986e1f2887012414', 'network_id': '8d927d5c-f3fa-4b9b-ac46-dbfee07cb9f2', 'ip_version': 4, 'cidr': '217.22.89.64/26', 'allocation_pools': [{'start': '217.22.89.66', 'end': '217.22.89.126'}], 'gateway_ip': '217.22.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.22.89.66', 'tags': [], 'project_id': '8f0ef47fd70c4c2c986e1f2887012414'}}
2025-11-21 17:06:55,432 - INFO - Created VN ctest-ext_vn-31712491
2025-11-21 17:06:55,489 - DEBUG - VN ctest-ext_vn-31712491 UUID is 8d927d5c-f3fa-4b9b-ac46-dbfee07cb9f2
2025-11-21 17:06:55,750 - DEBUG - Services list from nova: [, , ]
2025-11-21 17:06:57,213 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4788-1)
2025-11-21 17:06:58,572 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4788-1)
2025-11-21 17:06:58,652 - INFO - Setting gateway for router 2c7bb491-361e-4a4c-a98d-b026392cfb29 to network 8d927d5c-f3fa-4b9b-ac46-dbfee07cb9f2
2025-11-21 17:06:58,731 - INFO - Adding interface with subnet_id 2e9833c4-ff80-4cc1-9596-71abf8eeb3a1, port_id None to router 2c7bb491-361e-4a4c-a98d-b026392cfb29
2025-11-21 17:06:59,165 - INFO - Waiting for VM ctest-TestRoutersBasic-52253103-68649897 to be up..
2025-11-21 17:06:59,354 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-21 17:07:04,544 - DEBUG - VM is in ACTIVE state now
2025-11-21 17:07:04,544 - INFO - VM name : ctest-TestRoutersBasic-52253103-68649897
2025-11-21 17:07:04,717 - DEBUG - VM ctest-TestRoutersBasic-52253103-68649897 ID is b3db7ac6-4a83-48e4-8ccf-6c707dd48797
2025-11-21 17:07:04,769 - DEBUG - VM ctest-TestRoutersBasic-52253103-68649897 launched on Node cn-jenkins-deploy-platform-ansible-os-4788-1
2025-11-21 17:07:04,900 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/b3db7ac6-4a83-48e4-8ccf-6c707dd48797
2025-11-21 17:07:05,215 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/b3db7ac6-4a83-48e4-8ccf-6c707dd48797
2025-11-21 17:07:05,263 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/ba813669-2c51-4bee-95a8-d5fb65830fe5
2025-11-21 17:07:08,564 - 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 1028ms')
2025-11-21 17:07:08,565 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52253103-68649897 failed!
2025-11-21 17:07:08,648 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52253103:ctest-vn-28050419 is 143.146.196.65 and allocation pool is NOT set
2025-11-21 17:07:10,731 - 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=5.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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.801/3.745/5.689/1.944 ms')
2025-11-21 17:07:10,731 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52253103-68649897 passed
2025-11-21 17:07:10,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 17:07:10,908 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52253103-68649897, IP 143.146.196.67, Port 22
2025-11-21 17:07:10,986 - 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-11-21 17:07:11,165 - DEBUG - VM ctest-TestRoutersBasic-52253103-68649897 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-21 17:07:16,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 17:07:16,166 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52253103-68649897, IP 143.146.196.67, Port 22
2025-11-21 17:07:16,380 - DEBUG - VM ctest-TestRoutersBasic-52253103-68649897 is ready for SSH connections
2025-11-21 17:07:16,380 - INFO - Waiting for VM ctest-TestRoutersBasic-52253103-68168593 to be up..
2025-11-21 17:07:16,548 - DEBUG - VM is in ACTIVE state now
2025-11-21 17:07:16,549 - INFO - VM name : ctest-TestRoutersBasic-52253103-68168593
2025-11-21 17:07:16,686 - DEBUG - VM ctest-TestRoutersBasic-52253103-68168593 ID is c37adc54-9eda-4b69-bcb7-e5e3df8f706c
2025-11-21 17:07:16,687 - DEBUG - VM ctest-TestRoutersBasic-52253103-68168593 launched on Node cn-jenkins-deploy-platform-ansible-os-4788-1
2025-11-21 17:07:16,821 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c37adc54-9eda-4b69-bcb7-e5e3df8f706c
2025-11-21 17:07:16,838 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/064ddffb-5bef-4d4c-ab30-0cf36e5ea1b1
2025-11-21 17:07:18,178 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.773 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.773/2.446/4.119/1.673 ms')
2025-11-21 17:07:18,178 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52253103-68168593 passed
2025-11-21 17:07:18,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 17:07:18,354 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52253103-68168593, IP 217.22.89.67, Port 22
2025-11-21 17:07:18,564 - DEBUG - VM ctest-TestRoutersBasic-52253103-68168593 is ready for SSH connections
2025-11-21 17:07:18,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-21 17:07:18,564 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.22.89.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-21 17:07:18,564 - DEBUG - ping -s 56 -c 3 -W 1 217.22.89.67
2025-11-21 17:07:22,785 - DEBUG - PING 217.22.89.67 (217.22.89.67): 56 data bytes
64 bytes from 217.22.89.67: seq=0 ttl=62 time=11.746 ms
64 bytes from 217.22.89.67: seq=1 ttl=62 time=1.924 ms
64 bytes from 217.22.89.67: seq=2 ttl=62 time=2.067 ms
--- 217.22.89.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.924/5.245/11.746 ms
2025-11-21 17:07:22,786 - INFO - Ping to IP 217.22.89.67 from VM ctest-TestRoutersBasic-52253103-68649897 passed
2025-11-21 17:07:22,786 - INFO - Deleting interface with subnet_id 2e9833c4-ff80-4cc1-9596-71abf8eeb3a1, port_id None from router 2c7bb491-361e-4a4c-a98d-b026392cfb29
2025-11-21 17:07:23,091 - INFO - Deleting VM ctest-TestRoutersBasic-52253103-68168593
2025-11-21 17:07:23,169 - INFO - Deleting VM ctest-TestRoutersBasic-52253103-68649897
2025-11-21 17:07:23,286 - INFO - Deleting VN ctest-ext_vn-31712491
2025-11-21 17:07:23,355 - DEBUG - VN 8d927d5c-f3fa-4b9b-ac46-dbfee07cb9f2 still in use: Unable to complete operation on network 8d927d5c-f3fa-4b9b-ac46-dbfee07cb9f2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d704b203-85b0-46ad-9278-3fcce5d71866']
2025-11-21 17:07:23,355 - WARNING - Deleting VN ctest-ext_vn-31712491 failed..Will retry
2025-11-21 17:07:25,578 - DEBUG - Response for deleting network ()
2025-11-21 17:07:25,578 - INFO - Deleting VN ctest-vn-28050419
2025-11-21 17:07:25,736 - DEBUG - Response for deleting network ()
2025-11-21 17:07:26,051 - DEBUG - No XMPP flaps were noticed during the test
2025-11-21 17:07:26,051 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2025-11-21 17:07:26,052 - INFO - --------------------------------------------------------------------------------
2025-11-21 17:07:26,962 - INFO - Deleted project: ctest-TestRoutersBasic-52253103, ID : 8f0ef47f-d70c-4c2c-986e-1f2887012414