2024-08-27 04:29:45,149 - INFO - Domain Default found not creating 2024-08-27 04:29:45,319 - INFO - Project ctest-TestRoutersBasic-18680828 not found, creating it 2024-08-27 04:29:45,782 - INFO - Created Project:ctest-TestRoutersBasic-18680828, ID : 353c5c25-597b-4cfd-8407-9df041e04f20 2024-08-27 04:29:47,342 - INFO - ================================================================================ 2024-08-27 04:29:47,342 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-27 04:29:47,342 - 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-27 04:29:47,595 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.13': '0'}} with 2024-08-27 04:29:47,595 - INFO - Initial checks done. Running the testcase now 2024-08-27 04:29:47,595 - INFO - 2024-08-27 04:29:48,303 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18680828 2024-08-27 04:29:48,398 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18680828 2024-08-27 04:29:48,750 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18680828', 'default']} 2024-08-27 04:29:49,047 - DEBUG - Response for create_network : {'network': {'id': 'f88928ea-87f8-43f4-92d7-4bd77fe93374', 'name': 'ctest-vn-08015444', 'tenant_id': '353c5c25597b4cfd84079df041e04f20', 'project_id': '353c5c25597b4cfd84079df041e04f20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18680828', 'ctest-vn-08015444'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 04:29:49,271 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b688c50f-b3cd-4efc-be4a-437661a4a1b9', 'name': '', 'tenant_id': '353c5c25597b4cfd84079df041e04f20', 'network_id': 'f88928ea-87f8-43f4-92d7-4bd77fe93374', 'ip_version': 4, 'cidr': '66.142.151.192/26', 'allocation_pools': [{'start': '66.142.151.194', 'end': '66.142.151.254'}], 'gateway_ip': '66.142.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.142.151.194', 'tags': [], 'project_id': '353c5c25597b4cfd84079df041e04f20'}} 2024-08-27 04:29:49,290 - INFO - Created VN ctest-vn-08015444 2024-08-27 04:29:49,342 - DEBUG - VN ctest-vn-08015444 UUID is f88928ea-87f8-43f4-92d7-4bd77fe93374 2024-08-27 04:29:49,645 - DEBUG - Response for create_network : {'network': {'id': '3219d9df-a446-43cc-845a-b11813c937f2', 'name': 'ctest-ext_vn-90932578', 'tenant_id': '353c5c25597b4cfd84079df041e04f20', 'project_id': '353c5c25597b4cfd84079df041e04f20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18680828', 'ctest-ext_vn-90932578'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 04:29:49,837 - DEBUG - Response for create_subnet : {'subnet': {'id': '678b9264-ce5e-435b-b667-d230628ada1f', 'name': '', 'tenant_id': '353c5c25597b4cfd84079df041e04f20', 'network_id': '3219d9df-a446-43cc-845a-b11813c937f2', 'ip_version': 4, 'cidr': '155.191.209.64/26', 'allocation_pools': [{'start': '155.191.209.66', 'end': '155.191.209.126'}], 'gateway_ip': '155.191.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.191.209.66', 'tags': [], 'project_id': '353c5c25597b4cfd84079df041e04f20'}} 2024-08-27 04:29:49,855 - INFO - Created VN ctest-ext_vn-90932578 2024-08-27 04:29:49,906 - DEBUG - VN ctest-ext_vn-90932578 UUID is 3219d9df-a446-43cc-845a-b11813c937f2 2024-08-27 04:29:50,076 - DEBUG - Services list from nova: [, , ] 2024-08-27 04:29:51,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1789-1) 2024-08-27 04:29:52,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1789-1) 2024-08-27 04:29:52,344 - INFO - Setting gateway for router 10efc130-4fb5-4c86-b739-8af64571c9b9 to network 3219d9df-a446-43cc-845a-b11813c937f2 2024-08-27 04:29:52,400 - INFO - Adding interface with subnet_id b688c50f-b3cd-4efc-be4a-437661a4a1b9, port_id None to router 10efc130-4fb5-4c86-b739-8af64571c9b9 2024-08-27 04:29:52,719 - INFO - Waiting for VM ctest-TestRoutersBasic-18680828-31415880 to be up.. 2024-08-27 04:29:52,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 04:29:58,003 - DEBUG - VM is in ACTIVE state now 2024-08-27 04:29:58,003 - INFO - VM name : ctest-TestRoutersBasic-18680828-31415880 2024-08-27 04:29:58,081 - DEBUG - VM ctest-TestRoutersBasic-18680828-31415880 ID is ba34fa57-ceb4-42b3-8e51-0ba41c9c43b1 2024-08-27 04:29:58,100 - DEBUG - VM ctest-TestRoutersBasic-18680828-31415880 launched on Node cn-jenkins-deploy-platform-ansible-os-1789-1 2024-08-27 04:29:58,173 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/ba34fa57-ceb4-42b3-8e51-0ba41c9c43b1 2024-08-27 04:29:58,472 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/ba34fa57-ceb4-42b3-8e51-0ba41c9c43b1 2024-08-27 04:29:58,506 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/84be093b-caaa-4c6b-8131-438a3fda6f8b 2024-08-27 04:30:01,771 - 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') 2024-08-27 04:30:01,771 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18680828-31415880 failed! 2024-08-27 04:30:01,826 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18680828:ctest-vn-08015444 is 66.142.151.193 and allocation pool is NOT set 2024-08-27 04:30:03,896 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.384 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.384/2.065/3.747/1.681 ms') 2024-08-27 04:30:03,896 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18680828-31415880 passed 2024-08-27 04:30:04,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:30:04,051 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18680828-31415880, IP 66.142.151.195, Port 22 2024-08-27 04:30:04,224 - DEBUG - VM ctest-TestRoutersBasic-18680828-31415880 is ready for SSH connections 2024-08-27 04:30:04,225 - INFO - Waiting for VM ctest-TestRoutersBasic-18680828-96888812 to be up.. 2024-08-27 04:30:04,302 - DEBUG - VM is in ACTIVE state now 2024-08-27 04:30:04,302 - INFO - VM name : ctest-TestRoutersBasic-18680828-96888812 2024-08-27 04:30:04,378 - DEBUG - VM ctest-TestRoutersBasic-18680828-96888812 ID is 378b6946-c584-4815-9ef2-2aca0ba6fc54 2024-08-27 04:30:04,378 - DEBUG - VM ctest-TestRoutersBasic-18680828-96888812 launched on Node cn-jenkins-deploy-platform-ansible-os-1789-1 2024-08-27 04:30:04,453 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/378b6946-c584-4815-9ef2-2aca0ba6fc54 2024-08-27 04:30:04,462 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/71040fc0-09f3-4961-a3f5-3fed0d1b2df8 2024-08-27 04:30:05,700 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/1.793/3.206/1.412 ms') 2024-08-27 04:30:05,701 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18680828-96888812 passed 2024-08-27 04:30:05,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:30:05,851 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18680828-96888812, IP 155.191.209.67, Port 22 2024-08-27 04:30:06,007 - DEBUG - VM ctest-TestRoutersBasic-18680828-96888812 is ready for SSH connections 2024-08-27 04:30:06,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:30:06,007 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.191.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-08-27 04:30:06,007 - DEBUG - ping -s 56 -c 3 -W 1 155.191.209.67 2024-08-27 04:30:09,704 - DEBUG - PING 155.191.209.67 (155.191.209.67): 56 data bytes 64 bytes from 155.191.209.67: seq=0 ttl=62 time=6.523 ms 64 bytes from 155.191.209.67: seq=1 ttl=62 time=1.084 ms 64 bytes from 155.191.209.67: seq=2 ttl=62 time=0.903 ms --- 155.191.209.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.903/2.836/6.523 ms 2024-08-27 04:30:09,704 - INFO - Ping to IP 155.191.209.67 from VM ctest-TestRoutersBasic-18680828-31415880 passed 2024-08-27 04:30:09,704 - INFO - Deleting interface with subnet_id b688c50f-b3cd-4efc-be4a-437661a4a1b9, port_id None from router 10efc130-4fb5-4c86-b739-8af64571c9b9 2024-08-27 04:30:09,916 - INFO - Deleting VM ctest-TestRoutersBasic-18680828-96888812 2024-08-27 04:30:09,976 - INFO - Deleting VM ctest-TestRoutersBasic-18680828-31415880 2024-08-27 04:30:10,047 - INFO - Deleting VN ctest-ext_vn-90932578 2024-08-27 04:30:10,113 - DEBUG - VN 3219d9df-a446-43cc-845a-b11813c937f2 still in use: Unable to complete operation on network 3219d9df-a446-43cc-845a-b11813c937f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-99fe8227-3e4d-40ca-8f71-4a37733f6bff'] 2024-08-27 04:30:10,113 - WARNING - Deleting VN ctest-ext_vn-90932578 failed..Will retry 2024-08-27 04:30:12,224 - DEBUG - Response for deleting network () 2024-08-27 04:30:12,224 - INFO - Deleting VN ctest-vn-08015444 2024-08-27 04:30:12,342 - DEBUG - Response for deleting network () 2024-08-27 04:30:12,597 - DEBUG - No XMPP flaps were noticed during the test
2024-08-27 04:30:12,597 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-08-27 04:30:12,597 - INFO - -------------------------------------------------------------------------------- 2024-08-27 04:30:13,239 - INFO - Deleted project: ctest-TestRoutersBasic-18680828, ID : 353c5c25-597b-4cfd-8407-9df041e04f20