2025-01-09 00:05:37,580 - INFO - Domain Default found not creating
2025-01-09 00:05:37,769 - INFO - Project ctest-TestRoutersBasic-22863957 not found, creating it
2025-01-09 00:05:38,313 - INFO - Created Project:ctest-TestRoutersBasic-22863957, ID : 36c268da-437d-4722-b927-001c7c8bdc0e
2025-01-09 00:05:39,889 - INFO - ================================================================================
2025-01-09 00:05:39,889 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-09 00:05:39,889 - 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-09 00:05:40,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.22': '0'}} with
2025-01-09 00:05:40,164 - INFO - Initial checks done. Running the testcase now
2025-01-09 00:05:40,164 - INFO -
2025-01-09 00:05:40,913 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22863957
2025-01-09 00:05:41,017 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22863957
2025-01-09 00:05:41,356 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22863957', 'default']}
2025-01-09 00:05:41,712 - DEBUG - Response for create_network : {'network': {'id': 'a9ad8d9c-a67e-4751-9a55-f266ec4a325e', 'name': 'ctest-vn-30586720', 'tenant_id': '36c268da437d4722b927001c7c8bdc0e', 'project_id': '36c268da437d4722b927001c7c8bdc0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22863957', 'ctest-vn-30586720'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 00:05:41,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '25dc6d95-94f1-4e75-9992-aaf1dbe2a287', 'name': '', 'tenant_id': '36c268da437d4722b927001c7c8bdc0e', 'network_id': 'a9ad8d9c-a67e-4751-9a55-f266ec4a325e', 'ip_version': 4, 'cidr': '211.9.89.192/26', 'allocation_pools': [{'start': '211.9.89.194', 'end': '211.9.89.254'}], 'gateway_ip': '211.9.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.9.89.194', 'tags': [], 'project_id': '36c268da437d4722b927001c7c8bdc0e'}}
2025-01-09 00:05:41,959 - INFO - Created VN ctest-vn-30586720
2025-01-09 00:05:42,013 - DEBUG - VN ctest-vn-30586720 UUID is a9ad8d9c-a67e-4751-9a55-f266ec4a325e
2025-01-09 00:05:42,425 - DEBUG - Response for create_network : {'network': {'id': '63e74f96-b06e-4ca5-8c8b-0671555f0941', 'name': 'ctest-ext_vn-77102064', 'tenant_id': '36c268da437d4722b927001c7c8bdc0e', 'project_id': '36c268da437d4722b927001c7c8bdc0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22863957', 'ctest-ext_vn-77102064'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 00:05:42,596 - DEBUG - Response for create_subnet : {'subnet': {'id': '7262b8a8-9a5a-4679-a50f-c7124ddaee89', 'name': '', 'tenant_id': '36c268da437d4722b927001c7c8bdc0e', 'network_id': '63e74f96-b06e-4ca5-8c8b-0671555f0941', 'ip_version': 4, 'cidr': '132.167.110.0/26', 'allocation_pools': [{'start': '132.167.110.2', 'end': '132.167.110.62'}], 'gateway_ip': '132.167.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.167.110.2', 'tags': [], 'project_id': '36c268da437d4722b927001c7c8bdc0e'}}
2025-01-09 00:05:42,616 - INFO - Created VN ctest-ext_vn-77102064
2025-01-09 00:05:42,673 - DEBUG - VN ctest-ext_vn-77102064 UUID is 63e74f96-b06e-4ca5-8c8b-0671555f0941
2025-01-09 00:05:42,851 - DEBUG - Services list from nova: [, , ]
2025-01-09 00:05:43,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2572-1)
2025-01-09 00:05:45,250 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2572-1)
2025-01-09 00:05:45,344 - INFO - Setting gateway for router 98dc8081-72d6-456a-b6c7-ecf0f7ea9a30 to network 63e74f96-b06e-4ca5-8c8b-0671555f0941
2025-01-09 00:05:45,441 - INFO - Adding interface with subnet_id 25dc6d95-94f1-4e75-9992-aaf1dbe2a287, port_id None to router 98dc8081-72d6-456a-b6c7-ecf0f7ea9a30
2025-01-09 00:05:45,969 - INFO - Waiting for VM ctest-TestRoutersBasic-22863957-13993269 to be up..
2025-01-09 00:05:46,173 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-09 00:05:51,295 - DEBUG - VM is in ACTIVE state now
2025-01-09 00:05:51,295 - INFO - VM name : ctest-TestRoutersBasic-22863957-13993269
2025-01-09 00:05:51,385 - DEBUG - VM ctest-TestRoutersBasic-22863957-13993269 ID is 9a9682a8-c42f-4b0f-b76a-fc21ab68bf2d
2025-01-09 00:05:51,410 - DEBUG - VM ctest-TestRoutersBasic-22863957-13993269 launched on Node cn-jenkins-deploy-platform-ansible-os-2572-1
2025-01-09 00:05:51,528 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9a9682a8-c42f-4b0f-b76a-fc21ab68bf2d
2025-01-09 00:05:51,837 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/9a9682a8-c42f-4b0f-b76a-fc21ab68bf2d
2025-01-09 00:05:51,877 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f5a3ccde-adbd-4a37-8bd9-1048b413d542
2025-01-09 00:05:55,132 - 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 1002ms')
2025-01-09 00:05:55,143 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22863957-13993269 failed!
2025-01-09 00:05:55,201 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22863957:ctest-vn-30586720 is 211.9.89.193 and allocation pool is NOT set
2025-01-09 00:05:57,271 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.514 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.514/1.913/3.312/1.399 ms')
2025-01-09 00:05:57,271 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22863957-13993269 passed
2025-01-09 00:05:57,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 00:05:57,429 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22863957-13993269, IP 211.9.89.195, Port 22
2025-01-09 00:05:57,602 - DEBUG - VM ctest-TestRoutersBasic-22863957-13993269 is ready for SSH connections
2025-01-09 00:05:57,602 - INFO - Waiting for VM ctest-TestRoutersBasic-22863957-54853087 to be up..
2025-01-09 00:05:57,717 - DEBUG - VM is in ACTIVE state now
2025-01-09 00:05:57,717 - INFO - VM name : ctest-TestRoutersBasic-22863957-54853087
2025-01-09 00:05:57,849 - DEBUG - VM ctest-TestRoutersBasic-22863957-54853087 ID is 58aad7f6-7029-4354-9284-f6cfcb29d85c
2025-01-09 00:05:57,849 - DEBUG - VM ctest-TestRoutersBasic-22863957-54853087 launched on Node cn-jenkins-deploy-platform-ansible-os-2572-1
2025-01-09 00:05:57,952 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/58aad7f6-7029-4354-9284-f6cfcb29d85c
2025-01-09 00:05:57,964 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/faac8dd4-f13b-4ae6-bd82-3aba2b2bb488
2025-01-09 00:05:59,225 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.524 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.524/2.084/3.644/1.560 ms')
2025-01-09 00:05:59,225 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-22863957-54853087 passed
2025-01-09 00:05:59,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 00:05:59,385 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22863957-54853087, IP 132.167.110.3, Port 22
2025-01-09 00:05:59,559 - DEBUG - VM ctest-TestRoutersBasic-22863957-54853087 is ready for SSH connections
2025-01-09 00:05:59,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 00:05:59,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.167.110.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-01-09 00:05:59,560 - DEBUG - ping -s 56 -c 3 -W 1 132.167.110.3
2025-01-09 00:06:03,304 - DEBUG - PING 132.167.110.3 (132.167.110.3): 56 data bytes
64 bytes from 132.167.110.3: seq=0 ttl=62 time=5.113 ms
64 bytes from 132.167.110.3: seq=1 ttl=62 time=1.351 ms
64 bytes from 132.167.110.3: seq=2 ttl=62 time=2.862 ms
--- 132.167.110.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.351/3.108/5.113 ms
2025-01-09 00:06:03,304 - INFO - Ping to IP 132.167.110.3 from VM ctest-TestRoutersBasic-22863957-13993269 passed
2025-01-09 00:06:03,304 - INFO - Deleting interface with subnet_id 25dc6d95-94f1-4e75-9992-aaf1dbe2a287, port_id None from router 98dc8081-72d6-456a-b6c7-ecf0f7ea9a30
2025-01-09 00:06:03,568 - INFO - Deleting VM ctest-TestRoutersBasic-22863957-54853087
2025-01-09 00:06:03,656 - INFO - Deleting VM ctest-TestRoutersBasic-22863957-13993269
2025-01-09 00:06:03,779 - INFO - Deleting VN ctest-ext_vn-77102064
2025-01-09 00:06:03,898 - DEBUG - VN 63e74f96-b06e-4ca5-8c8b-0671555f0941 still in use: Unable to complete operation on network 63e74f96-b06e-4ca5-8c8b-0671555f0941. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cd931197-4bcb-47f2-9189-2edb05299116']
2025-01-09 00:06:03,898 - WARNING - Deleting VN ctest-ext_vn-77102064 failed..Will retry
2025-01-09 00:06:06,035 - DEBUG - Response for deleting network ()
2025-01-09 00:06:06,036 - INFO - Deleting VN ctest-vn-30586720
2025-01-09 00:06:06,172 - DEBUG - Response for deleting network ()
2025-01-09 00:06:06,436 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 00:06:06,436 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-01-09 00:06:06,436 - INFO - --------------------------------------------------------------------------------
2025-01-09 00:06:07,187 - INFO - Deleted project: ctest-TestRoutersBasic-22863957, ID : 36c268da-437d-4722-b927-001c7c8bdc0e