2025-01-08 15:05:43,106 - INFO - Domain Default found not creating
2025-01-08 15:05:43,245 - INFO - Project ctest-TestRoutersBasic-28665079 not found, creating it
2025-01-08 15:05:43,878 - INFO - Created Project:ctest-TestRoutersBasic-28665079, ID : 9d74c451-3173-4b0c-9d82-bdeed8947afa
2025-01-08 15:05:45,358 - INFO - ================================================================================
2025-01-08 15:05:45,358 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-08 15:05:45,358 - 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-01-08 15:05:45,611 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.11': '0'}} with
2025-01-08 15:05:45,611 - INFO - Initial checks done. Running the testcase now
2025-01-08 15:05:45,611 - INFO -
2025-01-08 15:05:46,298 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28665079
2025-01-08 15:05:46,393 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28665079
2025-01-08 15:05:46,721 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28665079', 'default']}
2025-01-08 15:05:46,992 - DEBUG - Response for create_network : {'network': {'id': '84571110-c118-42a8-b373-e78a58496b8d', 'name': 'ctest-vn-05610169', 'tenant_id': '9d74c45131734b0c9d82bdeed8947afa', 'project_id': '9d74c45131734b0c9d82bdeed8947afa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28665079', 'ctest-vn-05610169'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 15:05:47,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '854d2f0c-ebcb-4da9-a855-d828cb0f7ef6', 'name': '', 'tenant_id': '9d74c45131734b0c9d82bdeed8947afa', 'network_id': '84571110-c118-42a8-b373-e78a58496b8d', 'ip_version': 4, 'cidr': '182.131.206.64/26', 'allocation_pools': [{'start': '182.131.206.66', 'end': '182.131.206.126'}], 'gateway_ip': '182.131.206.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.131.206.66', 'tags': [], 'project_id': '9d74c45131734b0c9d82bdeed8947afa'}}
2025-01-08 15:05:47,171 - INFO - Created VN ctest-vn-05610169
2025-01-08 15:05:47,225 - DEBUG - VN ctest-vn-05610169 UUID is 84571110-c118-42a8-b373-e78a58496b8d
2025-01-08 15:05:47,654 - DEBUG - Response for create_network : {'network': {'id': '74e05844-5e20-449d-8f8d-75c1dc0a9c17', 'name': 'ctest-ext_vn-22051131', 'tenant_id': '9d74c45131734b0c9d82bdeed8947afa', 'project_id': '9d74c45131734b0c9d82bdeed8947afa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28665079', 'ctest-ext_vn-22051131'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 15:05:47,828 - DEBUG - Response for create_subnet : {'subnet': {'id': '302f5952-4da9-4f8a-a4df-342576f50516', 'name': '', 'tenant_id': '9d74c45131734b0c9d82bdeed8947afa', 'network_id': '74e05844-5e20-449d-8f8d-75c1dc0a9c17', 'ip_version': 4, 'cidr': '158.15.8.64/26', 'allocation_pools': [{'start': '158.15.8.66', 'end': '158.15.8.126'}], 'gateway_ip': '158.15.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.15.8.66', 'tags': [], 'project_id': '9d74c45131734b0c9d82bdeed8947afa'}}
2025-01-08 15:05:47,845 - INFO - Created VN ctest-ext_vn-22051131
2025-01-08 15:05:47,901 - DEBUG - VN ctest-ext_vn-22051131 UUID is 74e05844-5e20-449d-8f8d-75c1dc0a9c17
2025-01-08 15:05:48,102 - DEBUG - Services list from nova: [, , ]
2025-01-08 15:05:49,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2563-1)
2025-01-08 15:05:50,151 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2563-1)
2025-01-08 15:05:50,217 - INFO - Setting gateway for router b69f4f1c-72ae-4477-994d-be97b0e4dcbc to network 74e05844-5e20-449d-8f8d-75c1dc0a9c17
2025-01-08 15:05:50,276 - INFO - Adding interface with subnet_id 854d2f0c-ebcb-4da9-a855-d828cb0f7ef6, port_id None to router b69f4f1c-72ae-4477-994d-be97b0e4dcbc
2025-01-08 15:05:50,656 - INFO - Waiting for VM ctest-TestRoutersBasic-28665079-97672964 to be up..
2025-01-08 15:05:50,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-08 15:05:55,866 - DEBUG - VM is in ACTIVE state now
2025-01-08 15:05:55,866 - INFO - VM name : ctest-TestRoutersBasic-28665079-97672964
2025-01-08 15:05:55,942 - DEBUG - VM ctest-TestRoutersBasic-28665079-97672964 ID is 76987f71-2c62-484e-b2c6-7850d6b6f41c
2025-01-08 15:05:55,962 - DEBUG - VM ctest-TestRoutersBasic-28665079-97672964 launched on Node cn-jenkins-deploy-platform-ansible-os-2563-1
2025-01-08 15:05:56,038 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/76987f71-2c62-484e-b2c6-7850d6b6f41c
2025-01-08 15:05:56,333 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/76987f71-2c62-484e-b2c6-7850d6b6f41c
2025-01-08 15:05:56,362 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/8952a385-6670-4123-aa18-bcdf5031e3e5
2025-01-08 15:05:59,623 - 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 1019ms')
2025-01-08 15:05:59,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28665079-97672964 failed!
2025-01-08 15:05:59,677 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28665079:ctest-vn-05610169 is 182.131.206.65 and allocation pool is NOT set
2025-01-08 15:06:01,741 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.645 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 = 0.645/1.879/3.113/1.234 ms')
2025-01-08 15:06:01,741 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28665079-97672964 passed
2025-01-08 15:06:01,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 15:06:01,897 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28665079-97672964, IP 182.131.206.67, Port 22
2025-01-08 15:06:01,957 - 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-01-08 15:06:02,035 - DEBUG - VM ctest-TestRoutersBasic-28665079-97672964 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-08 15:06:07,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 15:06:07,036 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28665079-97672964, IP 182.131.206.67, Port 22
2025-01-08 15:06:07,188 - DEBUG - VM ctest-TestRoutersBasic-28665079-97672964 is ready for SSH connections
2025-01-08 15:06:07,189 - INFO - Waiting for VM ctest-TestRoutersBasic-28665079-29350291 to be up..
2025-01-08 15:06:07,257 - DEBUG - VM is in ACTIVE state now
2025-01-08 15:06:07,257 - INFO - VM name : ctest-TestRoutersBasic-28665079-29350291
2025-01-08 15:06:07,325 - DEBUG - VM ctest-TestRoutersBasic-28665079-29350291 ID is 94bc6843-6452-4de8-bc8f-056e12f0332e
2025-01-08 15:06:07,325 - DEBUG - VM ctest-TestRoutersBasic-28665079-29350291 launched on Node cn-jenkins-deploy-platform-ansible-os-2563-1
2025-01-08 15:06:07,396 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/94bc6843-6452-4de8-bc8f-056e12f0332e
2025-01-08 15:06:07,404 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d991f9d3-e09e-434e-ba45-6a9726df321c
2025-01-08 15:06:08,640 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/2.001/3.580/1.578 ms')
2025-01-08 15:06:08,640 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28665079-29350291 passed
2025-01-08 15:06:08,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 15:06:08,793 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28665079-29350291, IP 158.15.8.67, Port 22
2025-01-08 15:06:08,948 - DEBUG - VM ctest-TestRoutersBasic-28665079-29350291 is ready for SSH connections
2025-01-08 15:06:08,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-08 15:06:08,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.15.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-01-08 15:06:08,949 - DEBUG - ping -s 56 -c 3 -W 1 158.15.8.67
2025-01-08 15:06:12,905 - DEBUG - PING 158.15.8.67 (158.15.8.67): 56 data bytes
64 bytes from 158.15.8.67: seq=0 ttl=62 time=5.785 ms
64 bytes from 158.15.8.67: seq=1 ttl=62 time=0.866 ms
64 bytes from 158.15.8.67: seq=2 ttl=62 time=2.704 ms
--- 158.15.8.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.866/3.118/5.785 ms
2025-01-08 15:06:12,905 - INFO - Ping to IP 158.15.8.67 from VM ctest-TestRoutersBasic-28665079-97672964 passed
2025-01-08 15:06:12,905 - INFO - Deleting interface with subnet_id 854d2f0c-ebcb-4da9-a855-d828cb0f7ef6, port_id None from router b69f4f1c-72ae-4477-994d-be97b0e4dcbc
2025-01-08 15:06:13,125 - INFO - Deleting VM ctest-TestRoutersBasic-28665079-29350291
2025-01-08 15:06:13,206 - INFO - Deleting VM ctest-TestRoutersBasic-28665079-97672964
2025-01-08 15:06:13,283 - INFO - Deleting VN ctest-ext_vn-22051131
2025-01-08 15:06:13,355 - DEBUG - VN 74e05844-5e20-449d-8f8d-75c1dc0a9c17 still in use: Unable to complete operation on network 74e05844-5e20-449d-8f8d-75c1dc0a9c17. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a5f89a69-9302-4866-9b72-fc9e9c0271b0']
2025-01-08 15:06:13,355 - WARNING - Deleting VN ctest-ext_vn-22051131 failed..Will retry
2025-01-08 15:06:15,455 - DEBUG - Response for deleting network ()
2025-01-08 15:06:15,455 - INFO - Deleting VN ctest-vn-05610169
2025-01-08 15:06:15,561 - DEBUG - Response for deleting network ()
2025-01-08 15:06:15,814 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 15:06:15,814 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-01-08 15:06:15,814 - INFO - --------------------------------------------------------------------------------
2025-01-08 15:06:16,459 - INFO - Deleted project: ctest-TestRoutersBasic-28665079, ID : 9d74c451-3173-4b0c-9d82-bdeed8947afa