2025-06-05 02:17:06,657 - INFO - Domain Default found not creating
2025-06-05 02:17:06,854 - INFO - Project ctest-TestRoutersBasic-90233180 not found, creating it
2025-06-05 02:17:07,375 - INFO - Created Project:ctest-TestRoutersBasic-90233180, ID : acd1392a-2f17-4a6c-ae51-a2dd2d311170
2025-06-05 02:17:09,096 - INFO - ================================================================================
2025-06-05 02:17:09,096 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-05 02:17:09,096 - 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-06-05 02:17:09,372 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with
2025-06-05 02:17:09,372 - INFO - Initial checks done. Running the testcase now
2025-06-05 02:17:09,372 - INFO -
2025-06-05 02:17:10,210 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90233180
2025-06-05 02:17:10,310 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90233180
2025-06-05 02:17:10,642 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90233180', 'default']}
2025-06-05 02:17:10,974 - DEBUG - Response for create_network : {'network': {'id': '6ede470b-daeb-4e01-8e41-55375af99189', 'name': 'ctest-vn-61547455', 'tenant_id': 'acd1392a2f174a6cae51a2dd2d311170', 'project_id': 'acd1392a2f174a6cae51a2dd2d311170', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90233180', 'ctest-vn-61547455'], 'port_security_enabled': True, 'description': ''}}
2025-06-05 02:17:11,201 - DEBUG - Response for create_subnet : {'subnet': {'id': '106da54d-30c2-40a8-a56b-3160d69c01ce', 'name': '', 'tenant_id': 'acd1392a2f174a6cae51a2dd2d311170', 'network_id': '6ede470b-daeb-4e01-8e41-55375af99189', 'ip_version': 4, 'cidr': '217.76.59.128/26', 'allocation_pools': [{'start': '217.76.59.130', 'end': '217.76.59.190'}], 'gateway_ip': '217.76.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.76.59.130', 'tags': [], 'project_id': 'acd1392a2f174a6cae51a2dd2d311170'}}
2025-06-05 02:17:11,223 - INFO - Created VN ctest-vn-61547455
2025-06-05 02:17:11,278 - DEBUG - VN ctest-vn-61547455 UUID is 6ede470b-daeb-4e01-8e41-55375af99189
2025-06-05 02:17:11,673 - DEBUG - Response for create_network : {'network': {'id': 'e17f09af-4d96-4bfa-92d3-ff72ff98b212', 'name': 'ctest-ext_vn-46499164', 'tenant_id': 'acd1392a2f174a6cae51a2dd2d311170', 'project_id': 'acd1392a2f174a6cae51a2dd2d311170', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90233180', 'ctest-ext_vn-46499164'], 'port_security_enabled': True, 'description': ''}}
2025-06-05 02:17:12,005 - DEBUG - Response for create_subnet : {'subnet': {'id': '816e37c7-25f4-4b49-9af4-bcbf1e8bb10d', 'name': '', 'tenant_id': 'acd1392a2f174a6cae51a2dd2d311170', 'network_id': 'e17f09af-4d96-4bfa-92d3-ff72ff98b212', 'ip_version': 4, 'cidr': '29.96.242.192/26', 'allocation_pools': [{'start': '29.96.242.194', 'end': '29.96.242.254'}], 'gateway_ip': '29.96.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.96.242.194', 'tags': [], 'project_id': 'acd1392a2f174a6cae51a2dd2d311170'}}
2025-06-05 02:17:12,027 - INFO - Created VN ctest-ext_vn-46499164
2025-06-05 02:17:12,082 - DEBUG - VN ctest-ext_vn-46499164 UUID is e17f09af-4d96-4bfa-92d3-ff72ff98b212
2025-06-05 02:17:12,273 - DEBUG - Services list from nova: [, , ]
2025-06-05 02:17:13,455 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3404-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3404-1)
2025-06-05 02:17:14,782 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3404-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3404-1)
2025-06-05 02:17:14,882 - INFO - Setting gateway for router 1980a3a6-c70f-4aea-990e-12f01602163b to network e17f09af-4d96-4bfa-92d3-ff72ff98b212
2025-06-05 02:17:14,972 - INFO - Adding interface with subnet_id 106da54d-30c2-40a8-a56b-3160d69c01ce, port_id None to router 1980a3a6-c70f-4aea-990e-12f01602163b
2025-06-05 02:17:15,411 - INFO - Waiting for VM ctest-TestRoutersBasic-90233180-37303619 to be up..
2025-06-05 02:17:15,651 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-05 02:17:20,751 - DEBUG - VM is in ACTIVE state now
2025-06-05 02:17:20,751 - INFO - VM name : ctest-TestRoutersBasic-90233180-37303619
2025-06-05 02:17:20,848 - DEBUG - VM ctest-TestRoutersBasic-90233180-37303619 ID is 5414aee9-4fc5-44b2-8fa5-c563196be111
2025-06-05 02:17:20,875 - DEBUG - VM ctest-TestRoutersBasic-90233180-37303619 launched on Node cn-jenkins-deploy-platform-ansible-os-3404-1
2025-06-05 02:17:20,981 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5414aee9-4fc5-44b2-8fa5-c563196be111
2025-06-05 02:17:21,331 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5414aee9-4fc5-44b2-8fa5-c563196be111
2025-06-05 02:17:21,372 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/87d7827a-04b6-450f-899f-30720c34f334
2025-06-05 02:17:24,641 - 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 1006ms')
2025-06-05 02:17:24,641 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90233180-37303619 failed!
2025-06-05 02:17:24,698 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90233180:ctest-vn-61547455 is 217.76.59.129 and allocation pool is NOT set
2025-06-05 02:17:26,772 - 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=3.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.16 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 = 3.160/3.182/3.204/0.022 ms')
2025-06-05 02:17:26,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90233180-37303619 passed
2025-06-05 02:17:26,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 02:17:26,934 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90233180-37303619, IP 217.76.59.131, Port 22
2025-06-05 02:17:27,000 - 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-06-05 02:17:27,117 - DEBUG - VM ctest-TestRoutersBasic-90233180-37303619 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-05 02:17:32,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 02:17:32,118 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90233180-37303619, IP 217.76.59.131, Port 22
2025-06-05 02:17:32,285 - DEBUG - VM ctest-TestRoutersBasic-90233180-37303619 is ready for SSH connections
2025-06-05 02:17:32,285 - INFO - Waiting for VM ctest-TestRoutersBasic-90233180-46965570 to be up..
2025-06-05 02:17:32,407 - DEBUG - VM is in ACTIVE state now
2025-06-05 02:17:32,407 - INFO - VM name : ctest-TestRoutersBasic-90233180-46965570
2025-06-05 02:17:32,493 - DEBUG - VM ctest-TestRoutersBasic-90233180-46965570 ID is 147d2a24-6bdb-410f-808f-15664ad919c4
2025-06-05 02:17:32,493 - DEBUG - VM ctest-TestRoutersBasic-90233180-46965570 launched on Node cn-jenkins-deploy-platform-ansible-os-3404-1
2025-06-05 02:17:32,593 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/147d2a24-6bdb-410f-808f-15664ad919c4
2025-06-05 02:17:32,604 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3c952111-074e-4e07-a282-18ac0ce18d64
2025-06-05 02:17:33,862 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/2.297/4.106/1.808 ms')
2025-06-05 02:17:33,862 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90233180-46965570 passed
2025-06-05 02:17:34,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 02:17:34,018 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90233180-46965570, IP 29.96.242.195, Port 22
2025-06-05 02:17:34,188 - DEBUG - VM ctest-TestRoutersBasic-90233180-46965570 is ready for SSH connections
2025-06-05 02:17:34,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 02:17:34,189 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.96.242.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-06-05 02:17:34,189 - DEBUG - ping -s 56 -c 3 -W 1 29.96.242.195
2025-06-05 02:17:37,930 - DEBUG - PING 29.96.242.195 (29.96.242.195): 56 data bytes
64 bytes from 29.96.242.195: seq=0 ttl=62 time=7.406 ms
64 bytes from 29.96.242.195: seq=1 ttl=62 time=1.113 ms
64 bytes from 29.96.242.195: seq=2 ttl=62 time=1.182 ms
--- 29.96.242.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.113/3.233/7.406 ms
2025-06-05 02:17:37,930 - INFO - Ping to IP 29.96.242.195 from VM ctest-TestRoutersBasic-90233180-37303619 passed
2025-06-05 02:17:37,930 - INFO - Deleting interface with subnet_id 106da54d-30c2-40a8-a56b-3160d69c01ce, port_id None from router 1980a3a6-c70f-4aea-990e-12f01602163b
2025-06-05 02:17:38,183 - INFO - Deleting VM ctest-TestRoutersBasic-90233180-46965570
2025-06-05 02:17:38,270 - INFO - Deleting VM ctest-TestRoutersBasic-90233180-37303619
2025-06-05 02:17:38,363 - INFO - Deleting VN ctest-ext_vn-46499164
2025-06-05 02:17:38,478 - DEBUG - VN e17f09af-4d96-4bfa-92d3-ff72ff98b212 still in use: Unable to complete operation on network e17f09af-4d96-4bfa-92d3-ff72ff98b212. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-6d0fb31e-f283-48e7-867f-97bb1ce35a7f']
2025-06-05 02:17:38,478 - WARNING - Deleting VN ctest-ext_vn-46499164 failed..Will retry
2025-06-05 02:17:40,615 - DEBUG - Response for deleting network ()
2025-06-05 02:17:40,616 - INFO - Deleting VN ctest-vn-61547455
2025-06-05 02:17:40,752 - DEBUG - Response for deleting network ()
2025-06-05 02:17:41,014 - DEBUG - No XMPP flaps were noticed during the test
2025-06-05 02:17:41,014 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-06-05 02:17:41,014 - INFO - --------------------------------------------------------------------------------
2025-06-05 02:17:41,775 - INFO - Deleted project: ctest-TestRoutersBasic-90233180, ID : acd1392a-2f17-4a6c-ae51-a2dd2d311170