2025-04-27 10:35:41,991 - INFO - Domain Default found not creating
2025-04-27 10:35:42,112 - INFO - Project ctest-TestRoutersBasic-46324464 not found, creating it
2025-04-27 10:35:42,539 - INFO - Created Project:ctest-TestRoutersBasic-46324464, ID : f4b3034f-814b-4e30-b6ed-933c599ccaa3
2025-04-27 10:35:43,846 - INFO - ================================================================================
2025-04-27 10:35:43,846 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-27 10:35:43,846 - 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-04-27 10:35:44,111 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-04-27 10:35:44,111 - INFO - Initial checks done. Running the testcase now
2025-04-27 10:35:44,111 - INFO -
2025-04-27 10:35:44,776 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46324464
2025-04-27 10:35:44,874 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46324464
2025-04-27 10:35:45,194 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46324464', 'default']}
2025-04-27 10:35:45,476 - DEBUG - Response for create_network : {'network': {'id': '3b170b5c-8794-4da5-adbc-a9847fad3ed4', 'name': 'ctest-vn-27680577', 'tenant_id': 'f4b3034f814b4e30b6ed933c599ccaa3', 'project_id': 'f4b3034f814b4e30b6ed933c599ccaa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46324464', 'ctest-vn-27680577'], 'port_security_enabled': True, 'description': ''}}
2025-04-27 10:35:45,653 - DEBUG - Response for create_subnet : {'subnet': {'id': '552a9d99-59a8-4e6a-ac2c-d9497740e123', 'name': '', 'tenant_id': 'f4b3034f814b4e30b6ed933c599ccaa3', 'network_id': '3b170b5c-8794-4da5-adbc-a9847fad3ed4', 'ip_version': 4, 'cidr': '202.35.117.128/26', 'allocation_pools': [{'start': '202.35.117.130', 'end': '202.35.117.190'}], 'gateway_ip': '202.35.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.35.117.130', 'tags': [], 'project_id': 'f4b3034f814b4e30b6ed933c599ccaa3'}}
2025-04-27 10:35:45,668 - INFO - Created VN ctest-vn-27680577
2025-04-27 10:35:45,718 - DEBUG - VN ctest-vn-27680577 UUID is 3b170b5c-8794-4da5-adbc-a9847fad3ed4
2025-04-27 10:35:46,040 - DEBUG - Response for create_network : {'network': {'id': '435776f6-6076-4f36-94bf-60ec7ccbcb7f', 'name': 'ctest-ext_vn-19034135', 'tenant_id': 'f4b3034f814b4e30b6ed933c599ccaa3', 'project_id': 'f4b3034f814b4e30b6ed933c599ccaa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46324464', 'ctest-ext_vn-19034135'], 'port_security_enabled': True, 'description': ''}}
2025-04-27 10:35:46,192 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac7f48ce-90dd-41fa-a999-6b702c4c1361', 'name': '', 'tenant_id': 'f4b3034f814b4e30b6ed933c599ccaa3', 'network_id': '435776f6-6076-4f36-94bf-60ec7ccbcb7f', 'ip_version': 4, 'cidr': '196.120.221.128/26', 'allocation_pools': [{'start': '196.120.221.130', 'end': '196.120.221.190'}], 'gateway_ip': '196.120.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.120.221.130', 'tags': [], 'project_id': 'f4b3034f814b4e30b6ed933c599ccaa3'}}
2025-04-27 10:35:46,207 - INFO - Created VN ctest-ext_vn-19034135
2025-04-27 10:35:46,258 - DEBUG - VN ctest-ext_vn-19034135 UUID is 435776f6-6076-4f36-94bf-60ec7ccbcb7f
2025-04-27 10:35:46,445 - DEBUG - Services list from nova: [, , ]
2025-04-27 10:35:47,370 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3227-1)
2025-04-27 10:35:48,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3227-1)
2025-04-27 10:35:48,460 - INFO - Setting gateway for router 09188c8a-0462-4ad6-a06f-07b401e08336 to network 435776f6-6076-4f36-94bf-60ec7ccbcb7f
2025-04-27 10:35:48,516 - INFO - Adding interface with subnet_id 552a9d99-59a8-4e6a-ac2c-d9497740e123, port_id None to router 09188c8a-0462-4ad6-a06f-07b401e08336
2025-04-27 10:35:48,908 - INFO - Waiting for VM ctest-TestRoutersBasic-46324464-56084770 to be up..
2025-04-27 10:35:49,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-27 10:35:54,189 - DEBUG - VM is in ACTIVE state now
2025-04-27 10:35:54,189 - INFO - VM name : ctest-TestRoutersBasic-46324464-56084770
2025-04-27 10:35:54,269 - DEBUG - VM ctest-TestRoutersBasic-46324464-56084770 ID is ba3d8837-1ab3-45ed-a759-3ba0817fc355
2025-04-27 10:35:54,286 - DEBUG - VM ctest-TestRoutersBasic-46324464-56084770 launched on Node cn-jenkins-deploy-platform-ansible-os-3227-1
2025-04-27 10:35:54,351 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ba3d8837-1ab3-45ed-a759-3ba0817fc355
2025-04-27 10:35:54,638 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ba3d8837-1ab3-45ed-a759-3ba0817fc355
2025-04-27 10:35:54,665 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b4a7aa95-423a-427f-b68a-d0c5f19ba4c4
2025-04-27 10:35:57,900 - 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=3.20 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 3.195/3.195/3.195/0.000 ms')
2025-04-27 10:35:57,900 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46324464-56084770 passed
2025-04-27 10:35:58,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-27 10:35:58,050 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46324464-56084770, IP 202.35.117.131, Port 22
2025-04-27 10:35:58,105 - 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-04-27 10:35:58,170 - DEBUG - VM ctest-TestRoutersBasic-46324464-56084770 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-27 10:36:03,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-27 10:36:03,171 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46324464-56084770, IP 202.35.117.131, Port 22
2025-04-27 10:36:03,329 - DEBUG - VM ctest-TestRoutersBasic-46324464-56084770 is ready for SSH connections
2025-04-27 10:36:03,329 - INFO - Waiting for VM ctest-TestRoutersBasic-46324464-22371224 to be up..
2025-04-27 10:36:03,391 - DEBUG - VM is in ACTIVE state now
2025-04-27 10:36:03,391 - INFO - VM name : ctest-TestRoutersBasic-46324464-22371224
2025-04-27 10:36:03,450 - DEBUG - VM ctest-TestRoutersBasic-46324464-22371224 ID is 3e5aed97-f56c-414a-81b5-2abf4ded370e
2025-04-27 10:36:03,450 - DEBUG - VM ctest-TestRoutersBasic-46324464-22371224 launched on Node cn-jenkins-deploy-platform-ansible-os-3227-1
2025-04-27 10:36:03,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3e5aed97-f56c-414a-81b5-2abf4ded370e
2025-04-27 10:36:03,513 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e5f05003-0b0d-4346-aed4-d4a772c08a17
2025-04-27 10:36:04,754 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.277 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.277/1.371/2.466/1.094 ms')
2025-04-27 10:36:04,755 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46324464-22371224 passed
2025-04-27 10:36:04,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-27 10:36:04,902 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46324464-22371224, IP 196.120.221.131, Port 22
2025-04-27 10:36:05,053 - DEBUG - VM ctest-TestRoutersBasic-46324464-22371224 is ready for SSH connections
2025-04-27 10:36:05,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-27 10:36:05,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.120.221.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-27 10:36:05,053 - DEBUG - ping -s 56 -c 3 -W 1 196.120.221.131
2025-04-27 10:36:08,979 - DEBUG - PING 196.120.221.131 (196.120.221.131): 56 data bytes
64 bytes from 196.120.221.131: seq=0 ttl=62 time=6.014 ms
64 bytes from 196.120.221.131: seq=1 ttl=62 time=0.840 ms
64 bytes from 196.120.221.131: seq=2 ttl=62 time=0.789 ms
--- 196.120.221.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.789/2.547/6.014 ms
2025-04-27 10:36:08,979 - INFO - Ping to IP 196.120.221.131 from VM ctest-TestRoutersBasic-46324464-56084770 passed
2025-04-27 10:36:08,979 - INFO - Deleting interface with subnet_id 552a9d99-59a8-4e6a-ac2c-d9497740e123, port_id None from router 09188c8a-0462-4ad6-a06f-07b401e08336
2025-04-27 10:36:09,154 - INFO - Deleting VM ctest-TestRoutersBasic-46324464-22371224
2025-04-27 10:36:09,211 - INFO - Deleting VM ctest-TestRoutersBasic-46324464-56084770
2025-04-27 10:36:09,281 - INFO - Deleting VN ctest-ext_vn-19034135
2025-04-27 10:36:09,340 - DEBUG - VN 435776f6-6076-4f36-94bf-60ec7ccbcb7f still in use: Unable to complete operation on network 435776f6-6076-4f36-94bf-60ec7ccbcb7f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4707eb5b-d60c-41c9-98ae-faf7735475f6']
2025-04-27 10:36:09,340 - WARNING - Deleting VN ctest-ext_vn-19034135 failed..Will retry
2025-04-27 10:36:11,424 - DEBUG - Response for deleting network ()
2025-04-27 10:36:11,425 - INFO - Deleting VN ctest-vn-27680577
2025-04-27 10:36:11,512 - DEBUG - Response for deleting network ()
2025-04-27 10:36:11,762 - DEBUG - No XMPP flaps were noticed during the test
2025-04-27 10:36:11,762 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-04-27 10:36:11,762 - INFO - --------------------------------------------------------------------------------
2025-04-27 10:36:12,404 - INFO - Deleted project: ctest-TestRoutersBasic-46324464, ID : f4b3034f-814b-4e30-b6ed-933c599ccaa3