2025-01-27 02:37:33,827 - INFO - Domain Default found not creating 2025-01-27 02:37:33,981 - INFO - Project ctest-TestRoutersBasic-42360953 not found, creating it 2025-01-27 02:37:34,454 - INFO - Created Project:ctest-TestRoutersBasic-42360953, ID : 29177013-9b11-4eb7-aacc-f44f807c8b73 2025-01-27 02:37:36,023 - INFO - ================================================================================ 2025-01-27 02:37:36,023 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-27 02:37:36,023 - 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-27 02:37:36,287 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.27': '0'}} with 2025-01-27 02:37:36,287 - INFO - Initial checks done. Running the testcase now 2025-01-27 02:37:36,288 - INFO - 2025-01-27 02:37:37,003 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42360953 2025-01-27 02:37:37,100 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42360953 2025-01-27 02:37:37,428 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42360953', 'default']} 2025-01-27 02:37:37,733 - DEBUG - Response for create_network : {'network': {'id': '42377aeb-a192-4417-98d3-d5e260706834', 'name': 'ctest-vn-75430908', 'tenant_id': '291770139b114eb7aaccf44f807c8b73', 'project_id': '291770139b114eb7aaccf44f807c8b73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42360953', 'ctest-vn-75430908'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:37:37,918 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9b963da-f683-401e-9da9-06b69475fd81', 'name': '', 'tenant_id': '291770139b114eb7aaccf44f807c8b73', 'network_id': '42377aeb-a192-4417-98d3-d5e260706834', 'ip_version': 4, 'cidr': '74.240.238.64/26', 'allocation_pools': [{'start': '74.240.238.66', 'end': '74.240.238.126'}], 'gateway_ip': '74.240.238.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.240.238.66', 'tags': [], 'project_id': '291770139b114eb7aaccf44f807c8b73'}} 2025-01-27 02:37:37,938 - INFO - Created VN ctest-vn-75430908 2025-01-27 02:37:37,988 - DEBUG - VN ctest-vn-75430908 UUID is 42377aeb-a192-4417-98d3-d5e260706834 2025-01-27 02:37:38,323 - DEBUG - Response for create_network : {'network': {'id': 'ae338fdf-299d-4f5c-889b-76b4cf411c86', 'name': 'ctest-ext_vn-85313824', 'tenant_id': '291770139b114eb7aaccf44f807c8b73', 'project_id': '291770139b114eb7aaccf44f807c8b73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42360953', 'ctest-ext_vn-85313824'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:37:38,515 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed518ee3-87d8-4c1b-a804-a01f145715a8', 'name': '', 'tenant_id': '291770139b114eb7aaccf44f807c8b73', 'network_id': 'ae338fdf-299d-4f5c-889b-76b4cf411c86', 'ip_version': 4, 'cidr': '89.28.60.128/26', 'allocation_pools': [{'start': '89.28.60.130', 'end': '89.28.60.190'}], 'gateway_ip': '89.28.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.28.60.130', 'tags': [], 'project_id': '291770139b114eb7aaccf44f807c8b73'}} 2025-01-27 02:37:38,536 - INFO - Created VN ctest-ext_vn-85313824 2025-01-27 02:37:38,588 - DEBUG - VN ctest-ext_vn-85313824 UUID is ae338fdf-299d-4f5c-889b-76b4cf411c86 2025-01-27 02:37:38,762 - DEBUG - Services list from nova: [, , ] 2025-01-27 02:37:39,931 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2662-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2662-1) 2025-01-27 02:37:41,125 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2662-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2662-1) 2025-01-27 02:37:41,215 - INFO - Setting gateway for router 7916e271-f682-4ba6-9f4d-d7eb751fa05d to network ae338fdf-299d-4f5c-889b-76b4cf411c86 2025-01-27 02:37:41,296 - INFO - Adding interface with subnet_id b9b963da-f683-401e-9da9-06b69475fd81, port_id None to router 7916e271-f682-4ba6-9f4d-d7eb751fa05d 2025-01-27 02:37:41,769 - INFO - Waiting for VM ctest-TestRoutersBasic-42360953-90794263 to be up.. 2025-01-27 02:37:41,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-27 02:37:46,985 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:37:46,986 - INFO - VM name : ctest-TestRoutersBasic-42360953-90794263 2025-01-27 02:37:47,069 - DEBUG - VM ctest-TestRoutersBasic-42360953-90794263 ID is 66abcbc8-9008-48d9-b0ca-38e2f8e08be2 2025-01-27 02:37:47,091 - DEBUG - VM ctest-TestRoutersBasic-42360953-90794263 launched on Node cn-jenkins-deploy-platform-ansible-os-2662-1 2025-01-27 02:37:47,188 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/66abcbc8-9008-48d9-b0ca-38e2f8e08be2 2025-01-27 02:37:47,494 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/66abcbc8-9008-48d9-b0ca-38e2f8e08be2 2025-01-27 02:37:47,527 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/b55f6170-650b-4708-a8ee-168be7e1c7ea 2025-01-27 02:37:50,805 - 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 1015ms') 2025-01-27 02:37:50,805 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42360953-90794263 failed! 2025-01-27 02:37:50,864 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42360953:ctest-vn-75430908 is 74.240.238.65 and allocation pool is NOT set 2025-01-27 02:37:52,935 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.53 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.526/2.782/4.039/1.256 ms') 2025-01-27 02:37:52,935 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42360953-90794263 passed 2025-01-27 02:37:53,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:37:53,096 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42360953-90794263, IP 74.240.238.67, Port 22 2025-01-27 02:37:53,252 - DEBUG - VM ctest-TestRoutersBasic-42360953-90794263 is ready for SSH connections 2025-01-27 02:37:53,252 - INFO - Waiting for VM ctest-TestRoutersBasic-42360953-66083452 to be up.. 2025-01-27 02:37:53,338 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:37:53,338 - INFO - VM name : ctest-TestRoutersBasic-42360953-66083452 2025-01-27 02:37:53,420 - DEBUG - VM ctest-TestRoutersBasic-42360953-66083452 ID is 5e61023b-c369-4f99-b662-d0768d847345 2025-01-27 02:37:53,420 - DEBUG - VM ctest-TestRoutersBasic-42360953-66083452 launched on Node cn-jenkins-deploy-platform-ansible-os-2662-1 2025-01-27 02:37:53,500 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/5e61023b-c369-4f99-b662-d0768d847345 2025-01-27 02:37:53,510 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/0346dc88-70aa-4d31-a1bf-5ca8c90a5e4e 2025-01-27 02:37:54,746 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.615 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.615/1.724/2.833/1.109 ms') 2025-01-27 02:37:54,746 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42360953-66083452 passed 2025-01-27 02:37:54,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:37:54,925 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42360953-66083452, IP 89.28.60.131, Port 22 2025-01-27 02:37:55,094 - DEBUG - VM ctest-TestRoutersBasic-42360953-66083452 is ready for SSH connections 2025-01-27 02:37:55,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:37:55,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.28.60.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2025-01-27 02:37:55,095 - DEBUG - ping -s 56 -c 3 -W 1 89.28.60.131 2025-01-27 02:37:58,806 - DEBUG - PING 89.28.60.131 (89.28.60.131): 56 data bytes 64 bytes from 89.28.60.131: seq=0 ttl=62 time=8.170 ms 64 bytes from 89.28.60.131: seq=1 ttl=62 time=1.058 ms 64 bytes from 89.28.60.131: seq=2 ttl=62 time=1.227 ms --- 89.28.60.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.058/3.485/8.170 ms 2025-01-27 02:37:58,806 - INFO - Ping to IP 89.28.60.131 from VM ctest-TestRoutersBasic-42360953-90794263 passed 2025-01-27 02:37:58,806 - INFO - Deleting interface with subnet_id b9b963da-f683-401e-9da9-06b69475fd81, port_id None from router 7916e271-f682-4ba6-9f4d-d7eb751fa05d 2025-01-27 02:37:59,035 - INFO - Deleting VM ctest-TestRoutersBasic-42360953-66083452 2025-01-27 02:37:59,113 - INFO - Deleting VM ctest-TestRoutersBasic-42360953-90794263 2025-01-27 02:37:59,187 - INFO - Deleting VN ctest-ext_vn-85313824 2025-01-27 02:37:59,268 - DEBUG - VN ae338fdf-299d-4f5c-889b-76b4cf411c86 still in use: Unable to complete operation on network ae338fdf-299d-4f5c-889b-76b4cf411c86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0d7afa6d-d348-46bd-ab62-fa25a1a9c66f'] 2025-01-27 02:37:59,269 - WARNING - Deleting VN ctest-ext_vn-85313824 failed..Will retry 2025-01-27 02:38:01,373 - DEBUG - Response for deleting network () 2025-01-27 02:38:01,373 - INFO - Deleting VN ctest-vn-75430908 2025-01-27 02:38:01,473 - DEBUG - Response for deleting network () 2025-01-27 02:38:01,737 - DEBUG - No XMPP flaps were noticed during the test 2025-01-27 02:38:01,738 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-01-27 02:38:01,738 - INFO - -------------------------------------------------------------------------------- 2025-01-27 02:38:02,446 - INFO - Deleted project: ctest-TestRoutersBasic-42360953, ID : 29177013-9b11-4eb7-aacc-f44f807c8b73