2025-02-13 09:29:56,195 - INFO - Domain Default found not creating
2025-02-13 09:29:56,403 - INFO - Project ctest-TestRoutersBasic-44734287 not found, creating it
2025-02-13 09:29:56,951 - INFO - Created Project:ctest-TestRoutersBasic-44734287, ID : 61f2d864-b139-4c97-bb2d-a4bf89757785
2025-02-13 09:29:58,631 - INFO - ================================================================================
2025-02-13 09:29:58,631 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-13 09:29:58,631 - 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-02-13 09:29:58,902 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.6': '0'}} with
2025-02-13 09:29:58,903 - INFO - Initial checks done. Running the testcase now
2025-02-13 09:29:58,903 - INFO -
2025-02-13 09:29:59,700 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44734287
2025-02-13 09:29:59,803 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44734287
2025-02-13 09:30:00,171 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44734287', 'default']}
2025-02-13 09:30:00,603 - DEBUG - Response for create_network : {'network': {'id': 'dd63bf65-5904-4460-b58c-0ec8e34633bd', 'name': 'ctest-vn-74331837', 'tenant_id': '61f2d864b1394c97bb2da4bf89757785', 'project_id': '61f2d864b1394c97bb2da4bf89757785', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44734287', 'ctest-vn-74331837'], 'port_security_enabled': True, 'description': ''}}
2025-02-13 09:30:00,899 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cab7eeb4-64f1-4c20-a2bc-b0358f55befb', 'name': '', 'tenant_id': '61f2d864b1394c97bb2da4bf89757785', 'network_id': 'dd63bf65-5904-4460-b58c-0ec8e34633bd', 'ip_version': 4, 'cidr': '181.41.166.128/26', 'allocation_pools': [{'start': '181.41.166.130', 'end': '181.41.166.190'}], 'gateway_ip': '181.41.166.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.41.166.130', 'tags': [], 'project_id': '61f2d864b1394c97bb2da4bf89757785'}}
2025-02-13 09:30:00,927 - INFO - Created VN ctest-vn-74331837
2025-02-13 09:30:00,983 - DEBUG - VN ctest-vn-74331837 UUID is dd63bf65-5904-4460-b58c-0ec8e34633bd
2025-02-13 09:30:01,456 - DEBUG - Response for create_network : {'network': {'id': '90e7fdc3-8e57-44b0-baaa-b1b924f9b26f', 'name': 'ctest-ext_vn-58652409', 'tenant_id': '61f2d864b1394c97bb2da4bf89757785', 'project_id': '61f2d864b1394c97bb2da4bf89757785', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44734287', 'ctest-ext_vn-58652409'], 'port_security_enabled': True, 'description': ''}}
2025-02-13 09:30:01,672 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9e0f3d0-5d89-497a-8b85-9c38efd3fca3', 'name': '', 'tenant_id': '61f2d864b1394c97bb2da4bf89757785', 'network_id': '90e7fdc3-8e57-44b0-baaa-b1b924f9b26f', 'ip_version': 4, 'cidr': '122.239.232.128/26', 'allocation_pools': [{'start': '122.239.232.130', 'end': '122.239.232.190'}], 'gateway_ip': '122.239.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.239.232.130', 'tags': [], 'project_id': '61f2d864b1394c97bb2da4bf89757785'}}
2025-02-13 09:30:01,700 - INFO - Created VN ctest-ext_vn-58652409
2025-02-13 09:30:01,763 - DEBUG - VN ctest-ext_vn-58652409 UUID is 90e7fdc3-8e57-44b0-baaa-b1b924f9b26f
2025-02-13 09:30:01,990 - DEBUG - Services list from nova: [, , ]
2025-02-13 09:30:03,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2735-1)
2025-02-13 09:30:04,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2735-1)
2025-02-13 09:30:04,838 - INFO - Setting gateway for router 10c4472d-bc31-410f-8dee-3b2a5caaf11e to network 90e7fdc3-8e57-44b0-baaa-b1b924f9b26f
2025-02-13 09:30:04,963 - INFO - Adding interface with subnet_id cab7eeb4-64f1-4c20-a2bc-b0358f55befb, port_id None to router 10c4472d-bc31-410f-8dee-3b2a5caaf11e
2025-02-13 09:30:05,700 - INFO - Waiting for VM ctest-TestRoutersBasic-44734287-92599717 to be up..
2025-02-13 09:30:06,039 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-13 09:30:11,171 - DEBUG - VM is in ACTIVE state now
2025-02-13 09:30:11,171 - INFO - VM name : ctest-TestRoutersBasic-44734287-92599717
2025-02-13 09:30:11,306 - DEBUG - VM ctest-TestRoutersBasic-44734287-92599717 ID is c0d50fb8-8589-4e11-8846-42c532ae82cf
2025-02-13 09:30:11,351 - DEBUG - VM ctest-TestRoutersBasic-44734287-92599717 launched on Node cn-jenkins-deploy-platform-ansible-os-2735-1
2025-02-13 09:30:11,468 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/c0d50fb8-8589-4e11-8846-42c532ae82cf
2025-02-13 09:30:11,781 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/c0d50fb8-8589-4e11-8846-42c532ae82cf
2025-02-13 09:30:11,828 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/0982d1c3-f650-4891-83c1-b61b95abf819
2025-02-13 09:30:15,101 - 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 1001ms')
2025-02-13 09:30:15,101 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44734287-92599717 failed!
2025-02-13 09:30:15,163 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44734287:ctest-vn-74331837 is 181.41.166.129 and allocation pool is NOT set
2025-02-13 09:30:17,234 - 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=8.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.57 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 = 1.573/5.132/8.692/3.559 ms')
2025-02-13 09:30:17,234 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44734287-92599717 passed
2025-02-13 09:30:17,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-13 09:30:17,404 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44734287-92599717, IP 181.41.166.131, Port 22
2025-02-13 09:30:17,473 - 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-02-13 09:30:17,596 - DEBUG - VM ctest-TestRoutersBasic-44734287-92599717 is NOT ready for SSH connections, VM status: ACTIVE
2025-02-13 09:30:22,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-13 09:30:22,597 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44734287-92599717, IP 181.41.166.131, Port 22
2025-02-13 09:30:22,775 - DEBUG - VM ctest-TestRoutersBasic-44734287-92599717 is ready for SSH connections
2025-02-13 09:30:22,775 - INFO - Waiting for VM ctest-TestRoutersBasic-44734287-14839558 to be up..
2025-02-13 09:30:22,878 - DEBUG - VM is in ACTIVE state now
2025-02-13 09:30:22,879 - INFO - VM name : ctest-TestRoutersBasic-44734287-14839558
2025-02-13 09:30:22,983 - DEBUG - VM ctest-TestRoutersBasic-44734287-14839558 ID is 014f425d-2758-407b-a69a-494db0708622
2025-02-13 09:30:22,984 - DEBUG - VM ctest-TestRoutersBasic-44734287-14839558 launched on Node cn-jenkins-deploy-platform-ansible-os-2735-1
2025-02-13 09:30:23,086 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/014f425d-2758-407b-a69a-494db0708622
2025-02-13 09:30:23,099 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/f7a8d103-c057-4657-aa39-18d08d91bddb
2025-02-13 09:30:24,373 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.655 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.655/2.084/3.513/1.429 ms')
2025-02-13 09:30:24,374 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44734287-14839558 passed
2025-02-13 09:30:24,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-13 09:30:24,536 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44734287-14839558, IP 122.239.232.131, Port 22
2025-02-13 09:30:24,714 - DEBUG - VM ctest-TestRoutersBasic-44734287-14839558 is ready for SSH connections
2025-02-13 09:30:24,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-13 09:30:24,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.239.232.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123
2025-02-13 09:30:24,715 - DEBUG - ping -s 56 -c 3 -W 1 122.239.232.131
2025-02-13 09:30:28,497 - DEBUG - PING 122.239.232.131 (122.239.232.131): 56 data bytes
64 bytes from 122.239.232.131: seq=0 ttl=62 time=8.491 ms
64 bytes from 122.239.232.131: seq=1 ttl=62 time=1.996 ms
64 bytes from 122.239.232.131: seq=2 ttl=62 time=1.243 ms
--- 122.239.232.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.243/3.910/8.491 ms
2025-02-13 09:30:28,497 - INFO - Ping to IP 122.239.232.131 from VM ctest-TestRoutersBasic-44734287-92599717 passed
2025-02-13 09:30:28,497 - INFO - Deleting interface with subnet_id cab7eeb4-64f1-4c20-a2bc-b0358f55befb, port_id None from router 10c4472d-bc31-410f-8dee-3b2a5caaf11e
2025-02-13 09:30:28,926 - INFO - Deleting VM ctest-TestRoutersBasic-44734287-14839558
2025-02-13 09:30:29,035 - INFO - Deleting VM ctest-TestRoutersBasic-44734287-92599717
2025-02-13 09:30:29,142 - INFO - Deleting VN ctest-ext_vn-58652409
2025-02-13 09:30:29,248 - DEBUG - VN 90e7fdc3-8e57-44b0-baaa-b1b924f9b26f still in use: Unable to complete operation on network 90e7fdc3-8e57-44b0-baaa-b1b924f9b26f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-abcae47c-cf1e-4628-b34a-584e4561ab45']
2025-02-13 09:30:29,248 - WARNING - Deleting VN ctest-ext_vn-58652409 failed..Will retry
2025-02-13 09:30:31,429 - DEBUG - Response for deleting network ()
2025-02-13 09:30:31,429 - INFO - Deleting VN ctest-vn-74331837
2025-02-13 09:30:31,601 - DEBUG - Response for deleting network ()
2025-02-13 09:30:31,886 - DEBUG - No XMPP flaps were noticed during the test
2025-02-13 09:30:31,886 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2025-02-13 09:30:31,886 - INFO - --------------------------------------------------------------------------------
2025-02-13 09:30:32,635 - INFO - Deleted project: ctest-TestRoutersBasic-44734287, ID : 61f2d864-b139-4c97-bb2d-a4bf89757785