2025-09-23 12:24:38,507 - INFO - Domain Default found not creating
2025-09-23 12:24:38,701 - INFO - Project ctest-TestRoutersBasic-78961122 not found, creating it
2025-09-23 12:24:39,176 - INFO - Created Project:ctest-TestRoutersBasic-78961122, ID : 108dad3d-5981-4c84-9129-f643ccc19902
2025-09-23 12:24:40,669 - INFO - ================================================================================
2025-09-23 12:24:40,669 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-23 12:24:40,669 - 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-09-23 12:24:40,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-09-23 12:24:40,941 - INFO - Initial checks done. Running the testcase now
2025-09-23 12:24:40,941 - INFO -
2025-09-23 12:24:41,684 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78961122
2025-09-23 12:24:41,779 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78961122
2025-09-23 12:24:42,107 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78961122', 'default']}
2025-09-23 12:24:42,411 - DEBUG - Response for create_network : {'network': {'id': '33baf6d7-9755-49e6-a40e-b63c33188e35', 'name': 'ctest-vn-91941315', 'tenant_id': '108dad3d59814c849129f643ccc19902', 'project_id': '108dad3d59814c849129f643ccc19902', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78961122', 'ctest-vn-91941315'], 'port_security_enabled': True, 'description': ''}}
2025-09-23 12:24:42,648 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a954795d-4b28-4313-8416-3d39a2541755', 'name': '', 'tenant_id': '108dad3d59814c849129f643ccc19902', 'network_id': '33baf6d7-9755-49e6-a40e-b63c33188e35', 'ip_version': 4, 'cidr': '212.140.22.64/26', 'allocation_pools': [{'start': '212.140.22.66', 'end': '212.140.22.126'}], 'gateway_ip': '212.140.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.140.22.66', 'tags': [], 'project_id': '108dad3d59814c849129f643ccc19902'}}
2025-09-23 12:24:42,669 - INFO - Created VN ctest-vn-91941315
2025-09-23 12:24:42,723 - DEBUG - VN ctest-vn-91941315 UUID is 33baf6d7-9755-49e6-a40e-b63c33188e35
2025-09-23 12:24:43,083 - DEBUG - Response for create_network : {'network': {'id': '417b77d2-d27d-4dc9-8922-1e624b5cc1a2', 'name': 'ctest-ext_vn-84036543', 'tenant_id': '108dad3d59814c849129f643ccc19902', 'project_id': '108dad3d59814c849129f643ccc19902', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78961122', 'ctest-ext_vn-84036543'], 'port_security_enabled': True, 'description': ''}}
2025-09-23 12:24:43,281 - DEBUG - Response for create_subnet : {'subnet': {'id': '223ec1cf-ddb4-47cd-a4d6-c67623ef9951', 'name': '', 'tenant_id': '108dad3d59814c849129f643ccc19902', 'network_id': '417b77d2-d27d-4dc9-8922-1e624b5cc1a2', 'ip_version': 4, 'cidr': '206.89.174.192/26', 'allocation_pools': [{'start': '206.89.174.194', 'end': '206.89.174.254'}], 'gateway_ip': '206.89.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.89.174.194', 'tags': [], 'project_id': '108dad3d59814c849129f643ccc19902'}}
2025-09-23 12:24:43,304 - INFO - Created VN ctest-ext_vn-84036543
2025-09-23 12:24:43,359 - DEBUG - VN ctest-ext_vn-84036543 UUID is 417b77d2-d27d-4dc9-8922-1e624b5cc1a2
2025-09-23 12:24:43,591 - DEBUG - Services list from nova: [, , ]
2025-09-23 12:24:44,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4175-1)
2025-09-23 12:24:45,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4175-1)
2025-09-23 12:24:46,068 - INFO - Setting gateway for router a8a8a178-497b-4873-aa57-cd118ccaf34e to network 417b77d2-d27d-4dc9-8922-1e624b5cc1a2
2025-09-23 12:24:46,157 - INFO - Adding interface with subnet_id a954795d-4b28-4313-8416-3d39a2541755, port_id None to router a8a8a178-497b-4873-aa57-cd118ccaf34e
2025-09-23 12:24:46,541 - INFO - Waiting for VM ctest-TestRoutersBasic-78961122-53593538 to be up..
2025-09-23 12:24:46,719 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-23 12:24:51,804 - DEBUG - VM is in ACTIVE state now
2025-09-23 12:24:51,804 - INFO - VM name : ctest-TestRoutersBasic-78961122-53593538
2025-09-23 12:24:51,889 - DEBUG - VM ctest-TestRoutersBasic-78961122-53593538 ID is 070c5b38-80be-43f9-91f9-6272c714ba57
2025-09-23 12:24:51,912 - DEBUG - VM ctest-TestRoutersBasic-78961122-53593538 launched on Node cn-jenkins-deploy-platform-ansible-os-4175-1
2025-09-23 12:24:52,000 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/070c5b38-80be-43f9-91f9-6272c714ba57
2025-09-23 12:24:52,311 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/070c5b38-80be-43f9-91f9-6272c714ba57
2025-09-23 12:24:52,342 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/77215c07-7400-4773-9fbe-2a93d104fe06
2025-09-23 12:24:55,592 - 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 1010ms')
2025-09-23 12:24:55,592 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78961122-53593538 failed!
2025-09-23 12:24:55,647 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78961122:ctest-vn-91941315 is 212.140.22.65 and allocation pool is NOT set
2025-09-23 12:24:57,715 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.25 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.253/3.660/5.068/1.407 ms')
2025-09-23 12:24:57,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78961122-53593538 passed
2025-09-23 12:24:57,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:24:57,867 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78961122-53593538, IP 212.140.22.67, Port 22
2025-09-23 12:24:57,933 - 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-09-23 12:24:58,023 - DEBUG - VM ctest-TestRoutersBasic-78961122-53593538 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-23 12:25:03,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:25:03,024 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78961122-53593538, IP 212.140.22.67, Port 22
2025-09-23 12:25:03,205 - DEBUG - VM ctest-TestRoutersBasic-78961122-53593538 is ready for SSH connections
2025-09-23 12:25:03,205 - INFO - Waiting for VM ctest-TestRoutersBasic-78961122-38779585 to be up..
2025-09-23 12:25:03,300 - DEBUG - VM is in ACTIVE state now
2025-09-23 12:25:03,300 - INFO - VM name : ctest-TestRoutersBasic-78961122-38779585
2025-09-23 12:25:03,406 - DEBUG - VM ctest-TestRoutersBasic-78961122-38779585 ID is 0d1a94a2-b2c9-4820-b3d7-a109485ab606
2025-09-23 12:25:03,406 - DEBUG - VM ctest-TestRoutersBasic-78961122-38779585 launched on Node cn-jenkins-deploy-platform-ansible-os-4175-1
2025-09-23 12:25:03,500 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0d1a94a2-b2c9-4820-b3d7-a109485ab606
2025-09-23 12:25:03,511 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f5d3d09b-7fb5-4256-bdf1-b937a5820b8b
2025-09-23 12:25:04,768 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/1.844/3.171/1.327 ms')
2025-09-23 12:25:04,768 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78961122-38779585 passed
2025-09-23 12:25:04,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:25:04,923 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78961122-38779585, IP 206.89.174.195, Port 22
2025-09-23 12:25:05,097 - DEBUG - VM ctest-TestRoutersBasic-78961122-38779585 is ready for SSH connections
2025-09-23 12:25:05,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 12:25:05,097 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.89.174.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-23 12:25:05,097 - DEBUG - ping -s 56 -c 3 -W 1 206.89.174.195
2025-09-23 12:25:08,850 - DEBUG - PING 206.89.174.195 (206.89.174.195): 56 data bytes
64 bytes from 206.89.174.195: seq=0 ttl=62 time=8.860 ms
64 bytes from 206.89.174.195: seq=1 ttl=62 time=1.158 ms
64 bytes from 206.89.174.195: seq=2 ttl=62 time=1.377 ms
--- 206.89.174.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.158/3.798/8.860 ms
2025-09-23 12:25:08,850 - INFO - Ping to IP 206.89.174.195 from VM ctest-TestRoutersBasic-78961122-53593538 passed
2025-09-23 12:25:08,850 - INFO - Deleting interface with subnet_id a954795d-4b28-4313-8416-3d39a2541755, port_id None from router a8a8a178-497b-4873-aa57-cd118ccaf34e
2025-09-23 12:25:09,103 - INFO - Deleting VM ctest-TestRoutersBasic-78961122-38779585
2025-09-23 12:25:09,195 - INFO - Deleting VM ctest-TestRoutersBasic-78961122-53593538
2025-09-23 12:25:09,305 - INFO - Deleting VN ctest-ext_vn-84036543
2025-09-23 12:25:09,419 - DEBUG - VN 417b77d2-d27d-4dc9-8922-1e624b5cc1a2 still in use: Unable to complete operation on network 417b77d2-d27d-4dc9-8922-1e624b5cc1a2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c2fb6657-0340-47c8-b480-de7bd6a8153d']
2025-09-23 12:25:09,419 - WARNING - Deleting VN ctest-ext_vn-84036543 failed..Will retry
2025-09-23 12:25:11,546 - DEBUG - Response for deleting network ()
2025-09-23 12:25:11,546 - INFO - Deleting VN ctest-vn-91941315
2025-09-23 12:25:11,684 - DEBUG - Response for deleting network ()
2025-09-23 12:25:11,949 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 12:25:11,950 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-09-23 12:25:11,950 - INFO - --------------------------------------------------------------------------------
2025-09-23 12:25:12,718 - INFO - Deleted project: ctest-TestRoutersBasic-78961122, ID : 108dad3d-5981-4c84-9129-f643ccc19902