2025-04-22 20:23:17,691 - INFO - Domain Default found not creating
2025-04-22 20:23:17,805 - INFO - Project ctest-TestRoutersBasic-63836475 not found, creating it
2025-04-22 20:23:18,303 - INFO - Created Project:ctest-TestRoutersBasic-63836475, ID : 6b3534a2-2a38-40fe-a084-3f1a38f17928
2025-04-22 20:23:19,603 - INFO - ================================================================================
2025-04-22 20:23:19,603 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-22 20:23:19,603 - 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-22 20:23:19,855 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-04-22 20:23:19,855 - INFO - Initial checks done. Running the testcase now
2025-04-22 20:23:19,855 - INFO -
2025-04-22 20:23:20,523 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63836475
2025-04-22 20:23:20,619 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63836475
2025-04-22 20:23:20,931 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63836475', 'default']}
2025-04-22 20:23:21,205 - DEBUG - Response for create_network : {'network': {'id': 'd99c791c-7754-4235-a687-34a5277c788f', 'name': 'ctest-vn-62133556', 'tenant_id': '6b3534a22a3840fea0843f1a38f17928', 'project_id': '6b3534a22a3840fea0843f1a38f17928', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63836475', 'ctest-vn-62133556'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 20:23:21,397 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de82f356-afe8-4d76-bcb0-b2c0b38a417e', 'name': '', 'tenant_id': '6b3534a22a3840fea0843f1a38f17928', 'network_id': 'd99c791c-7754-4235-a687-34a5277c788f', 'ip_version': 4, 'cidr': '152.79.80.64/26', 'allocation_pools': [{'start': '152.79.80.66', 'end': '152.79.80.126'}], 'gateway_ip': '152.79.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.79.80.66', 'tags': [], 'project_id': '6b3534a22a3840fea0843f1a38f17928'}}
2025-04-22 20:23:21,413 - INFO - Created VN ctest-vn-62133556
2025-04-22 20:23:21,467 - DEBUG - VN ctest-vn-62133556 UUID is d99c791c-7754-4235-a687-34a5277c788f
2025-04-22 20:23:21,794 - DEBUG - Response for create_network : {'network': {'id': 'f078a27d-eab7-4e26-ae37-c04b289a7a79', 'name': 'ctest-ext_vn-91689183', 'tenant_id': '6b3534a22a3840fea0843f1a38f17928', 'project_id': '6b3534a22a3840fea0843f1a38f17928', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63836475', 'ctest-ext_vn-91689183'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 20:23:22,002 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdd73bdc-4d60-4177-b698-3b877ae60360', 'name': '', 'tenant_id': '6b3534a22a3840fea0843f1a38f17928', 'network_id': 'f078a27d-eab7-4e26-ae37-c04b289a7a79', 'ip_version': 4, 'cidr': '19.10.131.128/26', 'allocation_pools': [{'start': '19.10.131.130', 'end': '19.10.131.190'}], 'gateway_ip': '19.10.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.10.131.130', 'tags': [], 'project_id': '6b3534a22a3840fea0843f1a38f17928'}}
2025-04-22 20:23:22,017 - INFO - Created VN ctest-ext_vn-91689183
2025-04-22 20:23:22,071 - DEBUG - VN ctest-ext_vn-91689183 UUID is f078a27d-eab7-4e26-ae37-c04b289a7a79
2025-04-22 20:23:22,254 - DEBUG - Services list from nova: [, , ]
2025-04-22 20:23:23,174 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3172-1)
2025-04-22 20:23:24,253 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3172-1)
2025-04-22 20:23:24,321 - INFO - Setting gateway for router f0882f4d-b95d-4259-8c18-0b7066516fd9 to network f078a27d-eab7-4e26-ae37-c04b289a7a79
2025-04-22 20:23:24,387 - INFO - Adding interface with subnet_id de82f356-afe8-4d76-bcb0-b2c0b38a417e, port_id None to router f0882f4d-b95d-4259-8c18-0b7066516fd9
2025-04-22 20:23:24,749 - INFO - Waiting for VM ctest-TestRoutersBasic-63836475-30276135 to be up..
2025-04-22 20:23:24,899 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-22 20:23:29,965 - DEBUG - VM is in ACTIVE state now
2025-04-22 20:23:29,965 - INFO - VM name : ctest-TestRoutersBasic-63836475-30276135
2025-04-22 20:23:30,034 - DEBUG - VM ctest-TestRoutersBasic-63836475-30276135 ID is 40bd6838-d73f-408c-a624-b78664739ff8
2025-04-22 20:23:30,056 - DEBUG - VM ctest-TestRoutersBasic-63836475-30276135 launched on Node cn-jenkins-deploy-platform-ansible-os-3172-1
2025-04-22 20:23:30,119 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/40bd6838-d73f-408c-a624-b78664739ff8
2025-04-22 20:23:30,407 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/40bd6838-d73f-408c-a624-b78664739ff8
2025-04-22 20:23:30,433 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fc487607-55b2-496d-9489-b55d9c2b1dd6
2025-04-22 20:23:33,691 - 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=9.83 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 9.832/9.832/9.832/0.000 ms')
2025-04-22 20:23:33,692 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63836475-30276135 passed
2025-04-22 20:23:33,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 20:23:33,847 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63836475-30276135, IP 152.79.80.67, Port 22
2025-04-22 20:23:33,902 - 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-22 20:23:33,968 - DEBUG - VM ctest-TestRoutersBasic-63836475-30276135 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-22 20:23:38,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 20:23:38,969 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63836475-30276135, IP 152.79.80.67, Port 22
2025-04-22 20:23:39,122 - DEBUG - VM ctest-TestRoutersBasic-63836475-30276135 is ready for SSH connections
2025-04-22 20:23:39,122 - INFO - Waiting for VM ctest-TestRoutersBasic-63836475-81679777 to be up..
2025-04-22 20:23:39,183 - DEBUG - VM is in ACTIVE state now
2025-04-22 20:23:39,183 - INFO - VM name : ctest-TestRoutersBasic-63836475-81679777
2025-04-22 20:23:39,245 - DEBUG - VM ctest-TestRoutersBasic-63836475-81679777 ID is 6915c0eb-715f-48db-be7b-164e1be7e938
2025-04-22 20:23:39,245 - DEBUG - VM ctest-TestRoutersBasic-63836475-81679777 launched on Node cn-jenkins-deploy-platform-ansible-os-3172-1
2025-04-22 20:23:39,304 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6915c0eb-715f-48db-be7b-164e1be7e938
2025-04-22 20:23:39,311 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e2d73fcd-bb4e-433a-bcc3-38b52d7c8e7c
2025-04-22 20:23:40,541 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.296 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.296/1.469/2.643/1.173 ms')
2025-04-22 20:23:40,541 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63836475-81679777 passed
2025-04-22 20:23:40,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 20:23:40,691 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63836475-81679777, IP 19.10.131.131, Port 22
2025-04-22 20:23:40,854 - DEBUG - VM ctest-TestRoutersBasic-63836475-81679777 is ready for SSH connections
2025-04-22 20:23:40,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 20:23:40,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.10.131.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-04-22 20:23:40,854 - DEBUG - ping -s 56 -c 3 -W 1 19.10.131.131
2025-04-22 20:23:44,503 - DEBUG - PING 19.10.131.131 (19.10.131.131): 56 data bytes
64 bytes from 19.10.131.131: seq=0 ttl=62 time=4.516 ms
64 bytes from 19.10.131.131: seq=1 ttl=62 time=0.715 ms
64 bytes from 19.10.131.131: seq=2 ttl=62 time=0.774 ms
--- 19.10.131.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.715/2.001/4.516 ms
2025-04-22 20:23:44,503 - INFO - Ping to IP 19.10.131.131 from VM ctest-TestRoutersBasic-63836475-30276135 passed
2025-04-22 20:23:44,503 - INFO - Deleting interface with subnet_id de82f356-afe8-4d76-bcb0-b2c0b38a417e, port_id None from router f0882f4d-b95d-4259-8c18-0b7066516fd9
2025-04-22 20:23:44,677 - INFO - Deleting VM ctest-TestRoutersBasic-63836475-81679777
2025-04-22 20:23:44,735 - INFO - Deleting VM ctest-TestRoutersBasic-63836475-30276135
2025-04-22 20:23:44,797 - INFO - Deleting VN ctest-ext_vn-91689183
2025-04-22 20:23:44,851 - DEBUG - VN f078a27d-eab7-4e26-ae37-c04b289a7a79 still in use: Unable to complete operation on network f078a27d-eab7-4e26-ae37-c04b289a7a79. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1e5a27d4-6dfa-4a5f-aa31-a31275b29c15']
2025-04-22 20:23:44,851 - WARNING - Deleting VN ctest-ext_vn-91689183 failed..Will retry
2025-04-22 20:23:46,947 - DEBUG - Response for deleting network ()
2025-04-22 20:23:46,947 - INFO - Deleting VN ctest-vn-62133556
2025-04-22 20:23:47,057 - DEBUG - Response for deleting network ()
2025-04-22 20:23:47,315 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 20:23:47,315 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-04-22 20:23:47,315 - INFO - --------------------------------------------------------------------------------
2025-04-22 20:23:47,963 - INFO - Deleted project: ctest-TestRoutersBasic-63836475, ID : 6b3534a2-2a38-40fe-a084-3f1a38f17928