2025-03-27 16:20:19,183 - INFO - Domain Default found not creating
2025-03-27 16:20:19,336 - INFO - Project ctest-TestRoutersBasic-72656062 not found, creating it
2025-03-27 16:20:19,825 - INFO - Created Project:ctest-TestRoutersBasic-72656062, ID : 6bc41f2c-6907-4a57-9ea6-041b8c25bfcc
2025-03-27 16:20:21,515 - INFO - ================================================================================
2025-03-27 16:20:21,515 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-27 16:20:21,515 - 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-03-27 16:20:21,772 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.13': '0'}} with
2025-03-27 16:20:21,772 - INFO - Initial checks done. Running the testcase now
2025-03-27 16:20:21,772 - INFO -
2025-03-27 16:20:22,575 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72656062
2025-03-27 16:20:22,673 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72656062
2025-03-27 16:20:23,005 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72656062', 'default']}
2025-03-27 16:20:23,378 - DEBUG - Response for create_network : {'network': {'id': '4d4c72ad-56d8-4e09-876c-2160eae96ce0', 'name': 'ctest-vn-82600111', 'tenant_id': '6bc41f2c69074a579ea6041b8c25bfcc', 'project_id': '6bc41f2c69074a579ea6041b8c25bfcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72656062', 'ctest-vn-82600111'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 16:20:23,633 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3bf07d2-b7ea-4e7a-85ea-c4833d58c94f', 'name': '', 'tenant_id': '6bc41f2c69074a579ea6041b8c25bfcc', 'network_id': '4d4c72ad-56d8-4e09-876c-2160eae96ce0', 'ip_version': 4, 'cidr': '61.241.60.128/26', 'allocation_pools': [{'start': '61.241.60.130', 'end': '61.241.60.190'}], 'gateway_ip': '61.241.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.241.60.130', 'tags': [], 'project_id': '6bc41f2c69074a579ea6041b8c25bfcc'}}
2025-03-27 16:20:23,654 - INFO - Created VN ctest-vn-82600111
2025-03-27 16:20:23,709 - DEBUG - VN ctest-vn-82600111 UUID is 4d4c72ad-56d8-4e09-876c-2160eae96ce0
2025-03-27 16:20:24,094 - DEBUG - Response for create_network : {'network': {'id': 'e7f4a26d-e1aa-4f87-a27c-e0dd870461eb', 'name': 'ctest-ext_vn-87235922', 'tenant_id': '6bc41f2c69074a579ea6041b8c25bfcc', 'project_id': '6bc41f2c69074a579ea6041b8c25bfcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72656062', 'ctest-ext_vn-87235922'], 'port_security_enabled': True, 'description': ''}}
2025-03-27 16:20:24,341 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd9b9715-8e0b-49d8-b8c0-ca83da3dbabc', 'name': '', 'tenant_id': '6bc41f2c69074a579ea6041b8c25bfcc', 'network_id': 'e7f4a26d-e1aa-4f87-a27c-e0dd870461eb', 'ip_version': 4, 'cidr': '56.232.55.64/26', 'allocation_pools': [{'start': '56.232.55.66', 'end': '56.232.55.126'}], 'gateway_ip': '56.232.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.232.55.66', 'tags': [], 'project_id': '6bc41f2c69074a579ea6041b8c25bfcc'}}
2025-03-27 16:20:24,364 - INFO - Created VN ctest-ext_vn-87235922
2025-03-27 16:20:24,421 - DEBUG - VN ctest-ext_vn-87235922 UUID is e7f4a26d-e1aa-4f87-a27c-e0dd870461eb
2025-03-27 16:20:24,624 - DEBUG - Services list from nova: [, , ]
2025-03-27 16:20:25,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2979-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2979-1)
2025-03-27 16:20:27,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2979-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2979-1)
2025-03-27 16:20:27,140 - INFO - Setting gateway for router 39ec4927-b854-48a4-95fe-9bc93c11759a to network e7f4a26d-e1aa-4f87-a27c-e0dd870461eb
2025-03-27 16:20:27,231 - INFO - Adding interface with subnet_id b3bf07d2-b7ea-4e7a-85ea-c4833d58c94f, port_id None to router 39ec4927-b854-48a4-95fe-9bc93c11759a
2025-03-27 16:20:27,783 - INFO - Waiting for VM ctest-TestRoutersBasic-72656062-39801566 to be up..
2025-03-27 16:20:27,995 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-27 16:20:33,101 - DEBUG - VM is in ACTIVE state now
2025-03-27 16:20:33,101 - INFO - VM name : ctest-TestRoutersBasic-72656062-39801566
2025-03-27 16:20:33,186 - DEBUG - VM ctest-TestRoutersBasic-72656062-39801566 ID is 6e81d6df-df6a-4a22-91f8-4447d577813b
2025-03-27 16:20:33,208 - DEBUG - VM ctest-TestRoutersBasic-72656062-39801566 launched on Node cn-jenkins-deploy-platform-ansible-os-2979-1
2025-03-27 16:20:33,294 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/6e81d6df-df6a-4a22-91f8-4447d577813b
2025-03-27 16:20:33,631 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/6e81d6df-df6a-4a22-91f8-4447d577813b
2025-03-27 16:20:33,666 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/0aaa9dec-df45-4a80-86e9-a52f6d5a1eed
2025-03-27 16:20:36,946 - 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 1013ms')
2025-03-27 16:20:36,946 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72656062-39801566 failed!
2025-03-27 16:20:37,001 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72656062:ctest-vn-82600111 is 61.241.60.129 and allocation pool is NOT set
2025-03-27 16:20:39,068 - 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=5.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.08 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 = 2.076/3.755/5.435/1.679 ms')
2025-03-27 16:20:39,068 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72656062-39801566 passed
2025-03-27 16:20:39,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 16:20:39,234 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72656062-39801566, IP 61.241.60.131, Port 22
2025-03-27 16:20:39,304 - 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-03-27 16:20:39,423 - DEBUG - VM ctest-TestRoutersBasic-72656062-39801566 is NOT ready for SSH connections, VM status: ACTIVE
2025-03-27 16:20:44,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 16:20:44,424 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72656062-39801566, IP 61.241.60.131, Port 22
2025-03-27 16:20:44,589 - DEBUG - VM ctest-TestRoutersBasic-72656062-39801566 is ready for SSH connections
2025-03-27 16:20:44,589 - INFO - Waiting for VM ctest-TestRoutersBasic-72656062-07446364 to be up..
2025-03-27 16:20:44,675 - DEBUG - VM is in ACTIVE state now
2025-03-27 16:20:44,675 - INFO - VM name : ctest-TestRoutersBasic-72656062-07446364
2025-03-27 16:20:44,764 - DEBUG - VM ctest-TestRoutersBasic-72656062-07446364 ID is 54a67292-3b50-43e3-83da-798c14944676
2025-03-27 16:20:44,764 - DEBUG - VM ctest-TestRoutersBasic-72656062-07446364 launched on Node cn-jenkins-deploy-platform-ansible-os-2979-1
2025-03-27 16:20:44,850 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/54a67292-3b50-43e3-83da-798c14944676
2025-03-27 16:20:44,860 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/e24dba01-bffe-4164-bf26-58e9ab0bd8be
2025-03-27 16:20:46,108 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/1.908/3.335/1.427 ms')
2025-03-27 16:20:46,108 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72656062-07446364 passed
2025-03-27 16:20:46,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 16:20:46,261 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72656062-07446364, IP 56.232.55.67, Port 22
2025-03-27 16:20:46,416 - DEBUG - VM ctest-TestRoutersBasic-72656062-07446364 is ready for SSH connections
2025-03-27 16:20:46,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-27 16:20:46,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.232.55.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123
2025-03-27 16:20:46,417 - DEBUG - ping -s 56 -c 3 -W 1 56.232.55.67
2025-03-27 16:20:50,199 - DEBUG - PING 56.232.55.67 (56.232.55.67): 56 data bytes
64 bytes from 56.232.55.67: seq=0 ttl=62 time=5.006 ms
64 bytes from 56.232.55.67: seq=1 ttl=62 time=0.896 ms
64 bytes from 56.232.55.67: seq=2 ttl=62 time=0.821 ms
--- 56.232.55.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.821/2.241/5.006 ms
2025-03-27 16:20:50,199 - INFO - Ping to IP 56.232.55.67 from VM ctest-TestRoutersBasic-72656062-39801566 passed
2025-03-27 16:20:50,199 - INFO - Deleting interface with subnet_id b3bf07d2-b7ea-4e7a-85ea-c4833d58c94f, port_id None from router 39ec4927-b854-48a4-95fe-9bc93c11759a
2025-03-27 16:20:50,442 - INFO - Deleting VM ctest-TestRoutersBasic-72656062-07446364
2025-03-27 16:20:50,515 - INFO - Deleting VM ctest-TestRoutersBasic-72656062-39801566
2025-03-27 16:20:50,602 - INFO - Deleting VN ctest-ext_vn-87235922
2025-03-27 16:20:50,681 - DEBUG - VN e7f4a26d-e1aa-4f87-a27c-e0dd870461eb still in use: Unable to complete operation on network e7f4a26d-e1aa-4f87-a27c-e0dd870461eb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d012220a-0a1c-40d4-9886-792aaae41641']
2025-03-27 16:20:50,681 - WARNING - Deleting VN ctest-ext_vn-87235922 failed..Will retry
2025-03-27 16:20:52,804 - DEBUG - Response for deleting network ()
2025-03-27 16:20:52,804 - INFO - Deleting VN ctest-vn-82600111
2025-03-27 16:20:52,924 - DEBUG - Response for deleting network ()
2025-03-27 16:20:53,179 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 16:20:53,179 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-03-27 16:20:53,179 - INFO - --------------------------------------------------------------------------------
2025-03-27 16:20:53,916 - INFO - Deleted project: ctest-TestRoutersBasic-72656062, ID : 6bc41f2c-6907-4a57-9ea6-041b8c25bfcc