2025-04-03 02:22:34,487 - INFO - Domain Default found not creating
2025-04-03 02:22:34,691 - INFO - Project ctest-TestRoutersBasic-92891360 not found, creating it
2025-04-03 02:22:35,200 - INFO - Created Project:ctest-TestRoutersBasic-92891360, ID : e47a89a0-face-40f1-a0a7-704eac1431df
2025-04-03 02:22:36,695 - INFO - ================================================================================
2025-04-03 02:22:36,695 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-03 02:22:36,695 - 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-04-03 02:22:36,956 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.29': '0'}} with
2025-04-03 02:22:36,956 - INFO - Initial checks done. Running the testcase now
2025-04-03 02:22:36,956 - INFO -
2025-04-03 02:22:37,691 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92891360
2025-04-03 02:22:37,789 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92891360
2025-04-03 02:22:38,113 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92891360', 'default']}
2025-04-03 02:22:38,645 - DEBUG - Response for create_network : {'network': {'id': '55777431-50e1-4f27-a78f-81f1a497f4c7', 'name': 'ctest-vn-00802087', 'tenant_id': 'e47a89a0face40f1a0a7704eac1431df', 'project_id': 'e47a89a0face40f1a0a7704eac1431df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92891360', 'ctest-vn-00802087'], 'port_security_enabled': True, 'description': ''}}
2025-04-03 02:22:39,092 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c26e9576-9e2d-4aaa-95e2-520ace758ddd', 'name': '', 'tenant_id': 'e47a89a0face40f1a0a7704eac1431df', 'network_id': '55777431-50e1-4f27-a78f-81f1a497f4c7', 'ip_version': 4, 'cidr': '76.140.11.0/26', 'allocation_pools': [{'start': '76.140.11.2', 'end': '76.140.11.62'}], 'gateway_ip': '76.140.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.140.11.2', 'tags': [], 'project_id': 'e47a89a0face40f1a0a7704eac1431df'}}
2025-04-03 02:22:39,122 - INFO - Created VN ctest-vn-00802087
2025-04-03 02:22:39,177 - DEBUG - VN ctest-vn-00802087 UUID is 55777431-50e1-4f27-a78f-81f1a497f4c7
2025-04-03 02:22:39,529 - DEBUG - Response for create_network : {'network': {'id': '17ede9b4-75df-4a99-9527-0fd6aae0ac45', 'name': 'ctest-ext_vn-30248516', 'tenant_id': 'e47a89a0face40f1a0a7704eac1431df', 'project_id': 'e47a89a0face40f1a0a7704eac1431df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92891360', 'ctest-ext_vn-30248516'], 'port_security_enabled': True, 'description': ''}}
2025-04-03 02:22:39,754 - DEBUG - Response for create_subnet : {'subnet': {'id': '67a0e482-3201-4e89-a2df-f4f4b3842a93', 'name': '', 'tenant_id': 'e47a89a0face40f1a0a7704eac1431df', 'network_id': '17ede9b4-75df-4a99-9527-0fd6aae0ac45', 'ip_version': 4, 'cidr': '206.224.26.128/26', 'allocation_pools': [{'start': '206.224.26.130', 'end': '206.224.26.190'}], 'gateway_ip': '206.224.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.224.26.130', 'tags': [], 'project_id': 'e47a89a0face40f1a0a7704eac1431df'}}
2025-04-03 02:22:39,774 - INFO - Created VN ctest-ext_vn-30248516
2025-04-03 02:22:39,829 - DEBUG - VN ctest-ext_vn-30248516 UUID is 17ede9b4-75df-4a99-9527-0fd6aae0ac45
2025-04-03 02:22:40,021 - DEBUG - Services list from nova: [, , ]
2025-04-03 02:22:41,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3023-1)
2025-04-03 02:22:42,264 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3023-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3023-1)
2025-04-03 02:22:42,342 - INFO - Setting gateway for router 1e30b22a-6b43-42b3-9665-d5523856e68c to network 17ede9b4-75df-4a99-9527-0fd6aae0ac45
2025-04-03 02:22:42,435 - INFO - Adding interface with subnet_id c26e9576-9e2d-4aaa-95e2-520ace758ddd, port_id None to router 1e30b22a-6b43-42b3-9665-d5523856e68c
2025-04-03 02:22:42,905 - INFO - Waiting for VM ctest-TestRoutersBasic-92891360-68629069 to be up..
2025-04-03 02:22:43,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-03 02:22:48,177 - DEBUG - VM is in ACTIVE state now
2025-04-03 02:22:48,178 - INFO - VM name : ctest-TestRoutersBasic-92891360-68629069
2025-04-03 02:22:48,278 - DEBUG - VM ctest-TestRoutersBasic-92891360-68629069 ID is d2b68006-bdfc-48b2-aff7-c42a496094fe
2025-04-03 02:22:48,301 - DEBUG - VM ctest-TestRoutersBasic-92891360-68629069 launched on Node cn-jenkins-deploy-platform-ansible-os-3023-1
2025-04-03 02:22:48,422 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/d2b68006-bdfc-48b2-aff7-c42a496094fe
2025-04-03 02:22:48,755 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/d2b68006-bdfc-48b2-aff7-c42a496094fe
2025-04-03 02:22:48,797 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/9190626b-550d-41b6-ad87-69f3e6ac43ce
2025-04-03 02:22:52,064 - 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 1005ms')
2025-04-03 02:22:52,064 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92891360-68629069 failed!
2025-04-03 02:22:52,121 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92891360:ctest-vn-00802087 is 76.140.11.1 and allocation pool is NOT set
2025-04-03 02:22:54,196 - 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=4.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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 = 1.216/2.809/4.402/1.593 ms')
2025-04-03 02:22:54,196 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-92891360-68629069 passed
2025-04-03 02:22:54,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 02:22:54,349 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92891360-68629069, IP 76.140.11.3, Port 22
2025-04-03 02:22:54,509 - DEBUG - VM ctest-TestRoutersBasic-92891360-68629069 is ready for SSH connections
2025-04-03 02:22:54,509 - INFO - Waiting for VM ctest-TestRoutersBasic-92891360-38127638 to be up..
2025-04-03 02:22:54,628 - DEBUG - VM is in ACTIVE state now
2025-04-03 02:22:54,628 - INFO - VM name : ctest-TestRoutersBasic-92891360-38127638
2025-04-03 02:22:54,728 - DEBUG - VM ctest-TestRoutersBasic-92891360-38127638 ID is 9fc1a9e6-086b-403f-baef-e4e6cbbd1548
2025-04-03 02:22:54,728 - DEBUG - VM ctest-TestRoutersBasic-92891360-38127638 launched on Node cn-jenkins-deploy-platform-ansible-os-3023-1
2025-04-03 02:22:54,828 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/9fc1a9e6-086b-403f-baef-e4e6cbbd1548
2025-04-03 02:22:54,840 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/f64d3e30-f0ab-4087-a5c8-1fd6b52466a1
2025-04-03 02:22:56,105 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.558 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.558/2.080/3.603/1.522 ms')
2025-04-03 02:22:56,105 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-92891360-38127638 passed
2025-04-03 02:22:56,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 02:22:56,261 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92891360-38127638, IP 206.224.26.131, Port 22
2025-04-03 02:22:56,416 - DEBUG - VM ctest-TestRoutersBasic-92891360-38127638 is ready for SSH connections
2025-04-03 02:22:56,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-03 02:22:56,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.224.26.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-04-03 02:22:56,417 - DEBUG - ping -s 56 -c 3 -W 1 206.224.26.131
2025-04-03 02:23:00,121 - DEBUG - PING 206.224.26.131 (206.224.26.131): 56 data bytes
64 bytes from 206.224.26.131: seq=0 ttl=62 time=9.760 ms
64 bytes from 206.224.26.131: seq=1 ttl=62 time=1.407 ms
64 bytes from 206.224.26.131: seq=2 ttl=62 time=1.210 ms
--- 206.224.26.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.210/4.125/9.760 ms
2025-04-03 02:23:00,121 - INFO - Ping to IP 206.224.26.131 from VM ctest-TestRoutersBasic-92891360-68629069 passed
2025-04-03 02:23:00,121 - INFO - Deleting interface with subnet_id c26e9576-9e2d-4aaa-95e2-520ace758ddd, port_id None from router 1e30b22a-6b43-42b3-9665-d5523856e68c
2025-04-03 02:23:00,398 - INFO - Deleting VM ctest-TestRoutersBasic-92891360-38127638
2025-04-03 02:23:00,485 - INFO - Deleting VM ctest-TestRoutersBasic-92891360-68629069
2025-04-03 02:23:00,578 - INFO - Deleting VN ctest-ext_vn-30248516
2025-04-03 02:23:00,657 - DEBUG - VN 17ede9b4-75df-4a99-9527-0fd6aae0ac45 still in use: Unable to complete operation on network 17ede9b4-75df-4a99-9527-0fd6aae0ac45. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2beb717c-9cce-41a0-a9e2-76521324297f']
2025-04-03 02:23:00,658 - WARNING - Deleting VN ctest-ext_vn-30248516 failed..Will retry
2025-04-03 02:23:02,800 - DEBUG - Response for deleting network ()
2025-04-03 02:23:02,800 - INFO - Deleting VN ctest-vn-00802087
2025-04-03 02:23:02,939 - DEBUG - Response for deleting network ()
2025-04-03 02:23:03,214 - DEBUG - No XMPP flaps were noticed during the test
2025-04-03 02:23:03,214 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-03 02:23:03,214 - INFO - --------------------------------------------------------------------------------
2025-04-03 02:23:04,101 - INFO - Deleted project: ctest-TestRoutersBasic-92891360, ID : e47a89a0-face-40f1-a0a7-704eac1431df