2025-10-10 01:25:27,376 - INFO - Domain Default found not creating
2025-10-10 01:25:27,534 - INFO - Project ctest-TestRoutersBasic-70917403 not found, creating it
2025-10-10 01:25:28,006 - INFO - Created Project:ctest-TestRoutersBasic-70917403, ID : 023aa533-8a0b-47dd-92b1-17637c6018c6
2025-10-10 01:25:29,559 - INFO - ================================================================================
2025-10-10 01:25:29,559 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-10 01:25:29,559 - 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-10 01:25:29,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-10 01:25:29,819 - INFO - Initial checks done. Running the testcase now
2025-10-10 01:25:29,819 - INFO -
2025-10-10 01:25:30,617 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70917403
2025-10-10 01:25:30,713 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70917403
2025-10-10 01:25:31,045 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70917403', 'default']}
2025-10-10 01:25:31,355 - DEBUG - Response for create_network : {'network': {'id': '5857b067-2c74-4801-a5db-98af340a838c', 'name': 'ctest-vn-41875517', 'tenant_id': '023aa5338a0b47dd92b117637c6018c6', 'project_id': '023aa5338a0b47dd92b117637c6018c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70917403', 'ctest-vn-41875517'], 'port_security_enabled': True, 'description': ''}}
2025-10-10 01:25:31,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '2678c7e8-27ae-4c4f-927b-a6a503c129cc', 'name': '', 'tenant_id': '023aa5338a0b47dd92b117637c6018c6', 'network_id': '5857b067-2c74-4801-a5db-98af340a838c', 'ip_version': 4, 'cidr': '40.9.40.128/26', 'allocation_pools': [{'start': '40.9.40.130', 'end': '40.9.40.190'}], 'gateway_ip': '40.9.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.9.40.130', 'tags': [], 'project_id': '023aa5338a0b47dd92b117637c6018c6'}}
2025-10-10 01:25:31,603 - INFO - Created VN ctest-vn-41875517
2025-10-10 01:25:31,657 - DEBUG - VN ctest-vn-41875517 UUID is 5857b067-2c74-4801-a5db-98af340a838c
2025-10-10 01:25:31,991 - DEBUG - Response for create_network : {'network': {'id': '05cf6a7c-9dae-4d3f-a938-5a9974821d00', 'name': 'ctest-ext_vn-96606478', 'tenant_id': '023aa5338a0b47dd92b117637c6018c6', 'project_id': '023aa5338a0b47dd92b117637c6018c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70917403', 'ctest-ext_vn-96606478'], 'port_security_enabled': True, 'description': ''}}
2025-10-10 01:25:32,191 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6048449-de34-4f62-b714-3d93e0940017', 'name': '', 'tenant_id': '023aa5338a0b47dd92b117637c6018c6', 'network_id': '05cf6a7c-9dae-4d3f-a938-5a9974821d00', 'ip_version': 4, 'cidr': '94.195.67.128/26', 'allocation_pools': [{'start': '94.195.67.130', 'end': '94.195.67.190'}], 'gateway_ip': '94.195.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.195.67.130', 'tags': [], 'project_id': '023aa5338a0b47dd92b117637c6018c6'}}
2025-10-10 01:25:32,210 - INFO - Created VN ctest-ext_vn-96606478
2025-10-10 01:25:32,261 - DEBUG - VN ctest-ext_vn-96606478 UUID is 05cf6a7c-9dae-4d3f-a938-5a9974821d00
2025-10-10 01:25:32,442 - DEBUG - Services list from nova: [, , ]
2025-10-10 01:25:33,645 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4282-1)
2025-10-10 01:25:34,922 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4282-1)
2025-10-10 01:25:34,999 - INFO - Setting gateway for router 1fe733e8-e0c5-4a2a-bec1-2240faf79b67 to network 05cf6a7c-9dae-4d3f-a938-5a9974821d00
2025-10-10 01:25:35,052 - INFO - Adding interface with subnet_id 2678c7e8-27ae-4c4f-927b-a6a503c129cc, port_id None to router 1fe733e8-e0c5-4a2a-bec1-2240faf79b67
2025-10-10 01:25:35,483 - INFO - Waiting for VM ctest-TestRoutersBasic-70917403-15635830 to be up..
2025-10-10 01:25:35,709 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-10 01:25:40,791 - DEBUG - VM is in ACTIVE state now
2025-10-10 01:25:40,791 - INFO - VM name : ctest-TestRoutersBasic-70917403-15635830
2025-10-10 01:25:40,864 - DEBUG - VM ctest-TestRoutersBasic-70917403-15635830 ID is 92bd4fae-b8fd-4fe6-9641-d152f5795500
2025-10-10 01:25:40,885 - DEBUG - VM ctest-TestRoutersBasic-70917403-15635830 launched on Node cn-jenkins-deploy-platform-ansible-os-4282-1
2025-10-10 01:25:40,965 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/92bd4fae-b8fd-4fe6-9641-d152f5795500
2025-10-10 01:25:41,296 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/92bd4fae-b8fd-4fe6-9641-d152f5795500
2025-10-10 01:25:41,329 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/41eacfb8-c3ce-4b7c-bfbb-9ab544090143
2025-10-10 01:25:44,580 - 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-10-10 01:25:44,580 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70917403-15635830 failed!
2025-10-10 01:25:44,633 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70917403:ctest-vn-41875517 is 40.9.40.129 and allocation pool is NOT set
2025-10-10 01:25:46,696 - 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=4.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.895 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 = 0.895/2.598/4.301/1.703 ms')
2025-10-10 01:25:46,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70917403-15635830 passed
2025-10-10 01:25:46,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-10 01:25:46,849 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70917403-15635830, IP 40.9.40.131, Port 22
2025-10-10 01:25:47,015 - DEBUG - VM ctest-TestRoutersBasic-70917403-15635830 is ready for SSH connections
2025-10-10 01:25:47,015 - INFO - Waiting for VM ctest-TestRoutersBasic-70917403-79201786 to be up..
2025-10-10 01:25:47,100 - DEBUG - VM is in ACTIVE state now
2025-10-10 01:25:47,100 - INFO - VM name : ctest-TestRoutersBasic-70917403-79201786
2025-10-10 01:25:47,179 - DEBUG - VM ctest-TestRoutersBasic-70917403-79201786 ID is 5b216dec-d79c-4a35-94d9-f1f63a630557
2025-10-10 01:25:47,179 - DEBUG - VM ctest-TestRoutersBasic-70917403-79201786 launched on Node cn-jenkins-deploy-platform-ansible-os-4282-1
2025-10-10 01:25:47,251 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5b216dec-d79c-4a35-94d9-f1f63a630557
2025-10-10 01:25:47,259 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d92f6389-8fbc-4a47-b9c1-4e3177b4fc6c
2025-10-10 01:25:48,492 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.40 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 = 3.275/3.339/3.403/0.064 ms')
2025-10-10 01:25:48,492 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70917403-79201786 passed
2025-10-10 01:25:48,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-10 01:25:48,641 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70917403-79201786, IP 94.195.67.131, Port 22
2025-10-10 01:25:48,696 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-10 01:25:48,771 - DEBUG - VM ctest-TestRoutersBasic-70917403-79201786 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-10 01:25:53,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-10 01:25:53,772 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70917403-79201786, IP 94.195.67.131, Port 22
2025-10-10 01:25:53,929 - DEBUG - VM ctest-TestRoutersBasic-70917403-79201786 is ready for SSH connections
2025-10-10 01:25:53,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-10 01:25:53,929 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.195.67.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-10 01:25:53,929 - DEBUG - ping -s 56 -c 3 -W 1 94.195.67.131
2025-10-10 01:25:58,003 - DEBUG - PING 94.195.67.131 (94.195.67.131): 56 data bytes
64 bytes from 94.195.67.131: seq=0 ttl=62 time=6.174 ms
64 bytes from 94.195.67.131: seq=1 ttl=62 time=0.910 ms
64 bytes from 94.195.67.131: seq=2 ttl=62 time=1.119 ms
--- 94.195.67.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.910/2.734/6.174 ms
2025-10-10 01:25:58,003 - INFO - Ping to IP 94.195.67.131 from VM ctest-TestRoutersBasic-70917403-15635830 passed
2025-10-10 01:25:58,003 - INFO - Deleting interface with subnet_id 2678c7e8-27ae-4c4f-927b-a6a503c129cc, port_id None from router 1fe733e8-e0c5-4a2a-bec1-2240faf79b67
2025-10-10 01:25:58,191 - INFO - Deleting VM ctest-TestRoutersBasic-70917403-79201786
2025-10-10 01:25:58,258 - INFO - Deleting VM ctest-TestRoutersBasic-70917403-15635830
2025-10-10 01:25:58,344 - INFO - Deleting VN ctest-ext_vn-96606478
2025-10-10 01:25:58,406 - DEBUG - VN 05cf6a7c-9dae-4d3f-a938-5a9974821d00 still in use: Unable to complete operation on network 05cf6a7c-9dae-4d3f-a938-5a9974821d00. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9559ad23-b556-46fe-af37-f4dd4a0551c6']
2025-10-10 01:25:58,407 - WARNING - Deleting VN ctest-ext_vn-96606478 failed..Will retry
2025-10-10 01:26:00,533 - DEBUG - Response for deleting network ()
2025-10-10 01:26:00,533 - INFO - Deleting VN ctest-vn-41875517
2025-10-10 01:26:00,662 - DEBUG - Response for deleting network ()
2025-10-10 01:26:00,923 - DEBUG - No XMPP flaps were noticed during the test
2025-10-10 01:26:00,923 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-10 01:26:00,923 - INFO - --------------------------------------------------------------------------------
2025-10-10 01:26:01,668 - INFO - Deleted project: ctest-TestRoutersBasic-70917403, ID : 023aa533-8a0b-47dd-92b1-17637c6018c6