2025-03-27 03:54:39,055 - INFO - Domain Default found not creating 2025-03-27 03:54:39,254 - INFO - Project ctest-TestRoutersBasic-93855663 not found, creating it 2025-03-27 03:54:39,792 - INFO - Created Project:ctest-TestRoutersBasic-93855663, ID : bafd6354-d904-499a-8801-278ecec556a7 2025-03-27 03:54:41,361 - INFO - ================================================================================ 2025-03-27 03:54:41,361 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-27 03:54:41,361 - 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-03-27 03:54:41,619 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.20': '0'}} with 2025-03-27 03:54:41,619 - INFO - Initial checks done. Running the testcase now 2025-03-27 03:54:41,619 - INFO - 2025-03-27 03:54:42,359 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93855663 2025-03-27 03:54:42,460 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93855663 2025-03-27 03:54:42,816 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93855663', 'default']} 2025-03-27 03:54:43,147 - DEBUG - Response for create_network : {'network': {'id': '8cd996b4-f6e8-4366-8858-8d706f9739ef', 'name': 'ctest-vn-70950790', 'tenant_id': 'bafd6354d904499a8801278ecec556a7', 'project_id': 'bafd6354d904499a8801278ecec556a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93855663', 'ctest-vn-70950790'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 03:54:43,375 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc304a3b-1424-4f83-b55b-6070f9419b2c', 'name': '', 'tenant_id': 'bafd6354d904499a8801278ecec556a7', 'network_id': '8cd996b4-f6e8-4366-8858-8d706f9739ef', 'ip_version': 4, 'cidr': '62.8.33.192/26', 'allocation_pools': [{'start': '62.8.33.194', 'end': '62.8.33.254'}], 'gateway_ip': '62.8.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.8.33.194', 'tags': [], 'project_id': 'bafd6354d904499a8801278ecec556a7'}} 2025-03-27 03:54:43,396 - INFO - Created VN ctest-vn-70950790 2025-03-27 03:54:43,453 - DEBUG - VN ctest-vn-70950790 UUID is 8cd996b4-f6e8-4366-8858-8d706f9739ef 2025-03-27 03:54:43,807 - DEBUG - Response for create_network : {'network': {'id': '6a1e8b40-2bbe-4d99-bea9-615867f486dd', 'name': 'ctest-ext_vn-60427239', 'tenant_id': 'bafd6354d904499a8801278ecec556a7', 'project_id': 'bafd6354d904499a8801278ecec556a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93855663', 'ctest-ext_vn-60427239'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 03:54:44,034 - DEBUG - Response for create_subnet : {'subnet': {'id': '08ab6e29-ad0e-41f4-959a-ba60600765f4', 'name': '', 'tenant_id': 'bafd6354d904499a8801278ecec556a7', 'network_id': '6a1e8b40-2bbe-4d99-bea9-615867f486dd', 'ip_version': 4, 'cidr': '167.114.255.64/26', 'allocation_pools': [{'start': '167.114.255.66', 'end': '167.114.255.126'}], 'gateway_ip': '167.114.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.114.255.66', 'tags': [], 'project_id': 'bafd6354d904499a8801278ecec556a7'}} 2025-03-27 03:54:44,055 - INFO - Created VN ctest-ext_vn-60427239 2025-03-27 03:54:44,108 - DEBUG - VN ctest-ext_vn-60427239 UUID is 6a1e8b40-2bbe-4d99-bea9-615867f486dd 2025-03-27 03:54:44,294 - DEBUG - Services list from nova: [, , ] 2025-03-27 03:54:45,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2968-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2968-1) 2025-03-27 03:54:46,574 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2968-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2968-1) 2025-03-27 03:54:46,655 - INFO - Setting gateway for router d1c3289f-62a3-48fc-b647-93590a8e540f to network 6a1e8b40-2bbe-4d99-bea9-615867f486dd 2025-03-27 03:54:46,735 - INFO - Adding interface with subnet_id cc304a3b-1424-4f83-b55b-6070f9419b2c, port_id None to router d1c3289f-62a3-48fc-b647-93590a8e540f 2025-03-27 03:54:47,267 - INFO - Waiting for VM ctest-TestRoutersBasic-93855663-21110274 to be up.. 2025-03-27 03:54:47,436 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 03:54:52,532 - DEBUG - VM is in ACTIVE state now 2025-03-27 03:54:52,533 - INFO - VM name : ctest-TestRoutersBasic-93855663-21110274 2025-03-27 03:54:52,628 - DEBUG - VM ctest-TestRoutersBasic-93855663-21110274 ID is 37d82862-7a7a-4b79-82d9-66ede813bcdf 2025-03-27 03:54:52,654 - DEBUG - VM ctest-TestRoutersBasic-93855663-21110274 launched on Node cn-jenkins-deploy-platform-ansible-os-2968-1 2025-03-27 03:54:52,740 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/37d82862-7a7a-4b79-82d9-66ede813bcdf 2025-03-27 03:54:53,042 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/37d82862-7a7a-4b79-82d9-66ede813bcdf 2025-03-27 03:54:53,080 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/278cf077-6086-4a30-94e3-d81edd489d79 2025-03-27 03:54:56,342 - 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 1006ms') 2025-03-27 03:54:56,342 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93855663-21110274 failed! 2025-03-27 03:54:56,396 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93855663:ctest-vn-70950790 is 62.8.33.193 and allocation pool is NOT set 2025-03-27 03:54:58,462 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.67 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 = 3.763/4.217/4.671/0.454 ms') 2025-03-27 03:54:58,462 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93855663-21110274 passed 2025-03-27 03:54:58,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 03:54:58,621 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93855663-21110274, IP 62.8.33.195, Port 22 2025-03-27 03:54:58,776 - DEBUG - VM ctest-TestRoutersBasic-93855663-21110274 is ready for SSH connections 2025-03-27 03:54:58,776 - INFO - Waiting for VM ctest-TestRoutersBasic-93855663-75271409 to be up.. 2025-03-27 03:54:58,855 - DEBUG - VM is in ACTIVE state now 2025-03-27 03:54:58,855 - INFO - VM name : ctest-TestRoutersBasic-93855663-75271409 2025-03-27 03:54:58,940 - DEBUG - VM ctest-TestRoutersBasic-93855663-75271409 ID is 8738d192-b50c-4583-b91c-7d8339cfad56 2025-03-27 03:54:58,940 - DEBUG - VM ctest-TestRoutersBasic-93855663-75271409 launched on Node cn-jenkins-deploy-platform-ansible-os-2968-1 2025-03-27 03:54:59,028 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/8738d192-b50c-4583-b91c-7d8339cfad56 2025-03-27 03:54:59,040 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/ca17dfaa-afe5-479c-9011-4e96f370fc89 2025-03-27 03:55:00,294 - 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=5.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.26 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 = 1.261/3.321/5.382/2.060 ms') 2025-03-27 03:55:00,294 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93855663-75271409 passed 2025-03-27 03:55:00,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 03:55:00,452 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93855663-75271409, IP 167.114.255.67, Port 22 2025-03-27 03:55:00,608 - DEBUG - VM ctest-TestRoutersBasic-93855663-75271409 is ready for SSH connections 2025-03-27 03:55:00,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 03:55:00,609 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.114.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-03-27 03:55:00,609 - DEBUG - ping -s 56 -c 3 -W 1 167.114.255.67 2025-03-27 03:55:04,347 - DEBUG - PING 167.114.255.67 (167.114.255.67): 56 data bytes 64 bytes from 167.114.255.67: seq=0 ttl=62 time=7.467 ms 64 bytes from 167.114.255.67: seq=1 ttl=62 time=1.468 ms 64 bytes from 167.114.255.67: seq=2 ttl=62 time=0.926 ms --- 167.114.255.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/3.287/7.467 ms 2025-03-27 03:55:04,347 - INFO - Ping to IP 167.114.255.67 from VM ctest-TestRoutersBasic-93855663-21110274 passed 2025-03-27 03:55:04,347 - INFO - Deleting interface with subnet_id cc304a3b-1424-4f83-b55b-6070f9419b2c, port_id None from router d1c3289f-62a3-48fc-b647-93590a8e540f 2025-03-27 03:55:04,629 - INFO - Deleting VM ctest-TestRoutersBasic-93855663-75271409 2025-03-27 03:55:04,743 - INFO - Deleting VM ctest-TestRoutersBasic-93855663-21110274 2025-03-27 03:55:04,851 - INFO - Deleting VN ctest-ext_vn-60427239 2025-03-27 03:55:04,979 - DEBUG - VN 6a1e8b40-2bbe-4d99-bea9-615867f486dd still in use: Unable to complete operation on network 6a1e8b40-2bbe-4d99-bea9-615867f486dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6858ca24-6db7-463c-ae22-cf3876f88b19'] 2025-03-27 03:55:04,979 - WARNING - Deleting VN ctest-ext_vn-60427239 failed..Will retry 2025-03-27 03:55:07,128 - DEBUG - Response for deleting network () 2025-03-27 03:55:07,128 - INFO - Deleting VN ctest-vn-70950790 2025-03-27 03:55:07,269 - DEBUG - Response for deleting network () 2025-03-27 03:55:07,544 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 03:55:07,544 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-27 03:55:07,544 - INFO - -------------------------------------------------------------------------------- 2025-03-27 03:55:08,241 - INFO - Deleted project: ctest-TestRoutersBasic-93855663, ID : bafd6354-d904-499a-8801-278ecec556a7