2024-08-21 09:05:39,146 - INFO - Domain Default found not creating
2024-08-21 09:05:39,310 - INFO - Project ctest-TestRoutersBasic-59139199 not found, creating it
2024-08-21 09:05:39,789 - INFO - Created Project:ctest-TestRoutersBasic-59139199, ID : a589c437-2e15-498e-ad47-ba94c2fa5220
2024-08-21 09:05:41,537 - INFO - ================================================================================
2024-08-21 09:05:41,537 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-08-21 09:05:41,537 - 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
2024-08-21 09:05:41,795 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.28': '0'}} with
2024-08-21 09:05:41,795 - INFO - Initial checks done. Running the testcase now
2024-08-21 09:05:41,795 - INFO -
2024-08-21 09:05:42,502 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59139199
2024-08-21 09:05:42,601 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59139199
2024-08-21 09:05:42,924 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59139199', 'default']}
2024-08-21 09:05:43,221 - DEBUG - Response for create_network : {'network': {'id': '9012a0b1-e592-43e2-9c92-cc3d78426ee3', 'name': 'ctest-vn-46160944', 'tenant_id': 'a589c4372e15498ead47ba94c2fa5220', 'project_id': 'a589c4372e15498ead47ba94c2fa5220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59139199', 'ctest-vn-46160944'], 'port_security_enabled': True, 'description': ''}}
2024-08-21 09:05:43,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cd033ed-d6d0-4cb4-8e50-ba1cb3101601', 'name': '', 'tenant_id': 'a589c4372e15498ead47ba94c2fa5220', 'network_id': '9012a0b1-e592-43e2-9c92-cc3d78426ee3', 'ip_version': 4, 'cidr': '172.141.158.64/26', 'allocation_pools': [{'start': '172.141.158.66', 'end': '172.141.158.126'}], 'gateway_ip': '172.141.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.141.158.66', 'tags': [], 'project_id': 'a589c4372e15498ead47ba94c2fa5220'}}
2024-08-21 09:05:43,410 - INFO - Created VN ctest-vn-46160944
2024-08-21 09:05:43,465 - DEBUG - VN ctest-vn-46160944 UUID is 9012a0b1-e592-43e2-9c92-cc3d78426ee3
2024-08-21 09:05:43,803 - DEBUG - Response for create_network : {'network': {'id': 'd4950216-a776-4d82-9a61-b99ad7014c4e', 'name': 'ctest-ext_vn-12308656', 'tenant_id': 'a589c4372e15498ead47ba94c2fa5220', 'project_id': 'a589c4372e15498ead47ba94c2fa5220', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59139199', 'ctest-ext_vn-12308656'], 'port_security_enabled': True, 'description': ''}}
2024-08-21 09:05:43,978 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6807948-c4a1-42f7-923d-d3ff30c04e2f', 'name': '', 'tenant_id': 'a589c4372e15498ead47ba94c2fa5220', 'network_id': 'd4950216-a776-4d82-9a61-b99ad7014c4e', 'ip_version': 4, 'cidr': '220.137.111.128/26', 'allocation_pools': [{'start': '220.137.111.130', 'end': '220.137.111.190'}], 'gateway_ip': '220.137.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.137.111.130', 'tags': [], 'project_id': 'a589c4372e15498ead47ba94c2fa5220'}}
2024-08-21 09:05:43,997 - INFO - Created VN ctest-ext_vn-12308656
2024-08-21 09:05:44,049 - DEBUG - VN ctest-ext_vn-12308656 UUID is d4950216-a776-4d82-9a61-b99ad7014c4e
2024-08-21 09:05:44,211 - DEBUG - Services list from nova: [, , ]
2024-08-21 09:05:45,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1680-1)
2024-08-21 09:05:46,535 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1680-1)
2024-08-21 09:05:46,608 - INFO - Setting gateway for router 79fcf461-a9b4-4f53-a93e-eee98e735058 to network d4950216-a776-4d82-9a61-b99ad7014c4e
2024-08-21 09:05:46,674 - INFO - Adding interface with subnet_id 0cd033ed-d6d0-4cb4-8e50-ba1cb3101601, port_id None to router 79fcf461-a9b4-4f53-a93e-eee98e735058
2024-08-21 09:05:47,127 - INFO - Waiting for VM ctest-TestRoutersBasic-59139199-41265413 to be up..
2024-08-21 09:05:47,394 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-08-21 09:05:52,477 - DEBUG - VM is in ACTIVE state now
2024-08-21 09:05:52,477 - INFO - VM name : ctest-TestRoutersBasic-59139199-41265413
2024-08-21 09:05:52,561 - DEBUG - VM ctest-TestRoutersBasic-59139199-41265413 ID is da43dce6-8f34-4f21-b74f-3a5d27728b40
2024-08-21 09:05:52,581 - DEBUG - VM ctest-TestRoutersBasic-59139199-41265413 launched on Node cn-jenkins-deploy-platform-ansible-os-1680-1
2024-08-21 09:05:52,681 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/da43dce6-8f34-4f21-b74f-3a5d27728b40
2024-08-21 09:05:52,977 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/da43dce6-8f34-4f21-b74f-3a5d27728b40
2024-08-21 09:05:53,009 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/4e22bdd3-be7e-4469-9ad7-afa7593f93a9
2024-08-21 09:05:56,256 - 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')
2024-08-21 09:05:56,256 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59139199-41265413 failed!
2024-08-21 09:05:56,309 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59139199:ctest-vn-46160944 is 172.141.158.65 and allocation pool is NOT set
2024-08-21 09:05:58,374 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.416/2.006/3.597/1.590 ms')
2024-08-21 09:05:58,374 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59139199-41265413 passed
2024-08-21 09:05:58,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-21 09:05:58,529 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59139199-41265413, IP 172.141.158.67, Port 22
2024-08-21 09:05:58,692 - DEBUG - VM ctest-TestRoutersBasic-59139199-41265413 is ready for SSH connections
2024-08-21 09:05:58,693 - INFO - Waiting for VM ctest-TestRoutersBasic-59139199-88097745 to be up..
2024-08-21 09:05:58,774 - DEBUG - VM is in ACTIVE state now
2024-08-21 09:05:58,774 - INFO - VM name : ctest-TestRoutersBasic-59139199-88097745
2024-08-21 09:05:58,849 - DEBUG - VM ctest-TestRoutersBasic-59139199-88097745 ID is 1e0d2895-2d27-42e9-8e13-93212da39c61
2024-08-21 09:05:58,849 - DEBUG - VM ctest-TestRoutersBasic-59139199-88097745 launched on Node cn-jenkins-deploy-platform-ansible-os-1680-1
2024-08-21 09:05:58,925 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/1e0d2895-2d27-42e9-8e13-93212da39c61
2024-08-21 09:05:58,934 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/484be47d-6083-448c-b055-e7e22a0a1bef
2024-08-21 09:06:00,172 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.689/2.983/1.293 ms')
2024-08-21 09:06:00,172 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59139199-88097745 passed
2024-08-21 09:06:00,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-21 09:06:00,325 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59139199-88097745, IP 220.137.111.131, Port 22
2024-08-21 09:06:00,480 - DEBUG - VM ctest-TestRoutersBasic-59139199-88097745 is ready for SSH connections
2024-08-21 09:06:00,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-21 09:06:00,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.137.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2024-08-21 09:06:00,481 - DEBUG - ping -s 56 -c 3 -W 1 220.137.111.131
2024-08-21 09:06:04,167 - DEBUG - PING 220.137.111.131 (220.137.111.131): 56 data bytes
64 bytes from 220.137.111.131: seq=0 ttl=62 time=5.045 ms
64 bytes from 220.137.111.131: seq=1 ttl=62 time=1.093 ms
64 bytes from 220.137.111.131: seq=2 ttl=62 time=0.932 ms
--- 220.137.111.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.932/2.356/5.045 ms
2024-08-21 09:06:04,168 - INFO - Ping to IP 220.137.111.131 from VM ctest-TestRoutersBasic-59139199-41265413 passed
2024-08-21 09:06:04,168 - INFO - Deleting interface with subnet_id 0cd033ed-d6d0-4cb4-8e50-ba1cb3101601, port_id None from router 79fcf461-a9b4-4f53-a93e-eee98e735058
2024-08-21 09:06:04,383 - INFO - Deleting VM ctest-TestRoutersBasic-59139199-88097745
2024-08-21 09:06:04,463 - INFO - Deleting VM ctest-TestRoutersBasic-59139199-41265413
2024-08-21 09:06:04,537 - INFO - Deleting VN ctest-ext_vn-12308656
2024-08-21 09:06:04,614 - DEBUG - VN d4950216-a776-4d82-9a61-b99ad7014c4e still in use: Unable to complete operation on network d4950216-a776-4d82-9a61-b99ad7014c4e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2260ab5a-bddc-4464-9a57-28e9677e4c91']
2024-08-21 09:06:04,614 - WARNING - Deleting VN ctest-ext_vn-12308656 failed..Will retry
2024-08-21 09:06:06,732 - DEBUG - Response for deleting network ()
2024-08-21 09:06:06,732 - INFO - Deleting VN ctest-vn-46160944
2024-08-21 09:06:06,873 - DEBUG - Response for deleting network ()
2024-08-21 09:06:07,126 - DEBUG - No XMPP flaps were noticed during the test
2024-08-21 09:06:07,126 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-08-21 09:06:07,126 - INFO - --------------------------------------------------------------------------------
2024-08-21 09:06:07,794 - INFO - Deleted project: ctest-TestRoutersBasic-59139199, ID : a589c437-2e15-498e-ad47-ba94c2fa5220