2025-08-14 13:02:53,815 - INFO - Domain Default found not creating
2025-08-14 13:02:53,938 - INFO - Project ctest-TestRoutersBasic-79053830 not found, creating it
2025-08-14 13:02:54,371 - INFO - Created Project:ctest-TestRoutersBasic-79053830, ID : 356ad3b9-3d68-4fef-a4d6-95c0c1d96110
2025-08-14 13:02:55,688 - INFO - ================================================================================
2025-08-14 13:02:55,688 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-14 13:02:55,688 - 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-08-14 13:02:55,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-08-14 13:02:55,954 - INFO - Initial checks done. Running the testcase now
2025-08-14 13:02:55,954 - INFO -
2025-08-14 13:02:56,619 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79053830
2025-08-14 13:02:56,717 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79053830
2025-08-14 13:02:57,041 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79053830', 'default']}
2025-08-14 13:02:57,330 - DEBUG - Response for create_network : {'network': {'id': 'acafb0f6-dfad-44f1-a1b5-99977827f438', 'name': 'ctest-vn-09185886', 'tenant_id': '356ad3b93d684fefa4d695c0c1d96110', 'project_id': '356ad3b93d684fefa4d695c0c1d96110', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79053830', 'ctest-vn-09185886'], 'port_security_enabled': True, 'description': ''}}
2025-08-14 13:02:57,514 - DEBUG - Response for create_subnet : {'subnet': {'id': '8265ffe4-e295-4851-9912-90e58cdad96a', 'name': '', 'tenant_id': '356ad3b93d684fefa4d695c0c1d96110', 'network_id': 'acafb0f6-dfad-44f1-a1b5-99977827f438', 'ip_version': 4, 'cidr': '103.29.87.64/26', 'allocation_pools': [{'start': '103.29.87.66', 'end': '103.29.87.126'}], 'gateway_ip': '103.29.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.29.87.66', 'tags': [], 'project_id': '356ad3b93d684fefa4d695c0c1d96110'}}
2025-08-14 13:02:57,531 - INFO - Created VN ctest-vn-09185886
2025-08-14 13:02:57,581 - DEBUG - VN ctest-vn-09185886 UUID is acafb0f6-dfad-44f1-a1b5-99977827f438
2025-08-14 13:02:57,909 - DEBUG - Response for create_network : {'network': {'id': '111b97d9-b38f-43a5-bcb8-cbfff30f0ad9', 'name': 'ctest-ext_vn-11757980', 'tenant_id': '356ad3b93d684fefa4d695c0c1d96110', 'project_id': '356ad3b93d684fefa4d695c0c1d96110', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79053830', 'ctest-ext_vn-11757980'], 'port_security_enabled': True, 'description': ''}}
2025-08-14 13:02:58,071 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f671ada4-de29-415d-8033-6447c043b39a', 'name': '', 'tenant_id': '356ad3b93d684fefa4d695c0c1d96110', 'network_id': '111b97d9-b38f-43a5-bcb8-cbfff30f0ad9', 'ip_version': 4, 'cidr': '158.188.234.64/26', 'allocation_pools': [{'start': '158.188.234.66', 'end': '158.188.234.126'}], 'gateway_ip': '158.188.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.188.234.66', 'tags': [], 'project_id': '356ad3b93d684fefa4d695c0c1d96110'}}
2025-08-14 13:02:58,087 - INFO - Created VN ctest-ext_vn-11757980
2025-08-14 13:02:58,137 - DEBUG - VN ctest-ext_vn-11757980 UUID is 111b97d9-b38f-43a5-bcb8-cbfff30f0ad9
2025-08-14 13:02:58,328 - DEBUG - Services list from nova: [, , ]
2025-08-14 13:02:59,260 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3854-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3854-1)
2025-08-14 13:03:00,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3854-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3854-1)
2025-08-14 13:03:00,359 - INFO - Setting gateway for router 8c8eb000-c682-4359-a7cb-737aad631052 to network 111b97d9-b38f-43a5-bcb8-cbfff30f0ad9
2025-08-14 13:03:00,436 - INFO - Adding interface with subnet_id 8265ffe4-e295-4851-9912-90e58cdad96a, port_id None to router 8c8eb000-c682-4359-a7cb-737aad631052
2025-08-14 13:03:00,672 - INFO - Waiting for VM ctest-TestRoutersBasic-79053830-03623325 to be up..
2025-08-14 13:03:00,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-14 13:03:05,842 - DEBUG - VM is in ACTIVE state now
2025-08-14 13:03:05,842 - INFO - VM name : ctest-TestRoutersBasic-79053830-03623325
2025-08-14 13:03:05,907 - DEBUG - VM ctest-TestRoutersBasic-79053830-03623325 ID is 3618b99c-c838-4ec7-863d-94ce4ade82a1
2025-08-14 13:03:05,924 - DEBUG - VM ctest-TestRoutersBasic-79053830-03623325 launched on Node cn-jenkins-deploy-platform-ansible-os-3854-1
2025-08-14 13:03:05,986 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3618b99c-c838-4ec7-863d-94ce4ade82a1
2025-08-14 13:03:06,276 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3618b99c-c838-4ec7-863d-94ce4ade82a1
2025-08-14 13:03:06,305 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1beee40c-8e34-4686-8a39-1057b2aa83e9
2025-08-14 13:03:09,558 - 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=12.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 12.235/12.235/12.235/0.000 ms')
2025-08-14 13:03:09,558 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79053830-03623325 passed
2025-08-14 13:03:09,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 13:03:09,705 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79053830-03623325, IP 103.29.87.67, Port 22
2025-08-14 13:03:09,761 - 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-08-14 13:03:09,827 - DEBUG - VM ctest-TestRoutersBasic-79053830-03623325 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-14 13:03:14,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 13:03:14,827 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79053830-03623325, IP 103.29.87.67, Port 22
2025-08-14 13:03:14,987 - DEBUG - VM ctest-TestRoutersBasic-79053830-03623325 is ready for SSH connections
2025-08-14 13:03:14,987 - INFO - Waiting for VM ctest-TestRoutersBasic-79053830-97401373 to be up..
2025-08-14 13:03:15,055 - DEBUG - VM is in ACTIVE state now
2025-08-14 13:03:15,055 - INFO - VM name : ctest-TestRoutersBasic-79053830-97401373
2025-08-14 13:03:15,119 - DEBUG - VM ctest-TestRoutersBasic-79053830-97401373 ID is 0b97e4ce-50c9-4b33-8d24-09c1285f36df
2025-08-14 13:03:15,119 - DEBUG - VM ctest-TestRoutersBasic-79053830-97401373 launched on Node cn-jenkins-deploy-platform-ansible-os-3854-1
2025-08-14 13:03:15,181 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0b97e4ce-50c9-4b33-8d24-09c1285f36df
2025-08-14 13:03:15,190 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/aece2843-468a-4928-bc74-f939ffbf54e1
2025-08-14 13:03:16,422 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/1.480/2.578/1.097 ms')
2025-08-14 13:03:16,422 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79053830-97401373 passed
2025-08-14 13:03:16,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 13:03:16,569 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79053830-97401373, IP 158.188.234.67, Port 22
2025-08-14 13:03:16,720 - DEBUG - VM ctest-TestRoutersBasic-79053830-97401373 is ready for SSH connections
2025-08-14 13:03:16,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 13:03:16,721 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.188.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-14 13:03:16,721 - DEBUG - ping -s 56 -c 3 -W 1 158.188.234.67
2025-08-14 13:03:20,674 - DEBUG - PING 158.188.234.67 (158.188.234.67): 56 data bytes
64 bytes from 158.188.234.67: seq=0 ttl=62 time=5.785 ms
64 bytes from 158.188.234.67: seq=1 ttl=62 time=0.909 ms
64 bytes from 158.188.234.67: seq=2 ttl=62 time=0.726 ms
--- 158.188.234.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.726/2.473/5.785 ms
2025-08-14 13:03:20,674 - INFO - Ping to IP 158.188.234.67 from VM ctest-TestRoutersBasic-79053830-03623325 passed
2025-08-14 13:03:20,674 - INFO - Deleting interface with subnet_id 8265ffe4-e295-4851-9912-90e58cdad96a, port_id None from router 8c8eb000-c682-4359-a7cb-737aad631052
2025-08-14 13:03:20,856 - INFO - Deleting VM ctest-TestRoutersBasic-79053830-97401373
2025-08-14 13:03:20,916 - INFO - Deleting VM ctest-TestRoutersBasic-79053830-03623325
2025-08-14 13:03:20,990 - INFO - Deleting VN ctest-ext_vn-11757980
2025-08-14 13:03:21,050 - DEBUG - VN 111b97d9-b38f-43a5-bcb8-cbfff30f0ad9 still in use: Unable to complete operation on network 111b97d9-b38f-43a5-bcb8-cbfff30f0ad9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2a96b600-af56-405b-a1cc-faac1ab68e8f']
2025-08-14 13:03:21,050 - WARNING - Deleting VN ctest-ext_vn-11757980 failed..Will retry
2025-08-14 13:03:23,140 - DEBUG - Response for deleting network ()
2025-08-14 13:03:23,140 - INFO - Deleting VN ctest-vn-09185886
2025-08-14 13:03:23,230 - DEBUG - Response for deleting network ()
2025-08-14 13:03:23,486 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 13:03:23,486 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-08-14 13:03:23,486 - INFO - --------------------------------------------------------------------------------
2025-08-14 13:03:24,114 - INFO - Deleted project: ctest-TestRoutersBasic-79053830, ID : 356ad3b9-3d68-4fef-a4d6-95c0c1d96110