2025-02-20 02:22:10,417 - INFO - Domain Default found not creating 2025-02-20 02:22:10,569 - INFO - Project ctest-TestRoutersBasic-39208423 not found, creating it 2025-02-20 02:22:11,052 - INFO - Created Project:ctest-TestRoutersBasic-39208423, ID : 1d2cc4ef-c028-4efe-a5f4-59b51a98f40f 2025-02-20 02:22:12,583 - INFO - ================================================================================ 2025-02-20 02:22:12,583 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-20 02:22:12,583 - 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-02-20 02:22:12,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.14': '0'}} with 2025-02-20 02:22:12,836 - INFO - Initial checks done. Running the testcase now 2025-02-20 02:22:12,836 - INFO - 2025-02-20 02:22:13,531 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39208423 2025-02-20 02:22:13,626 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39208423 2025-02-20 02:22:13,950 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39208423', 'default']} 2025-02-20 02:22:14,257 - DEBUG - Response for create_network : {'network': {'id': 'ef3aa953-5d38-41bd-a10f-170fc1568fd1', 'name': 'ctest-vn-03090469', 'tenant_id': '1d2cc4efc0284efea5f459b51a98f40f', 'project_id': '1d2cc4efc0284efea5f459b51a98f40f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39208423', 'ctest-vn-03090469'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 02:22:14,457 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f09b836-d34d-433f-8671-dc0fa2524692', 'name': '', 'tenant_id': '1d2cc4efc0284efea5f459b51a98f40f', 'network_id': 'ef3aa953-5d38-41bd-a10f-170fc1568fd1', 'ip_version': 4, 'cidr': '183.75.156.0/26', 'allocation_pools': [{'start': '183.75.156.2', 'end': '183.75.156.62'}], 'gateway_ip': '183.75.156.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.75.156.2', 'tags': [], 'project_id': '1d2cc4efc0284efea5f459b51a98f40f'}} 2025-02-20 02:22:14,476 - INFO - Created VN ctest-vn-03090469 2025-02-20 02:22:14,534 - DEBUG - VN ctest-vn-03090469 UUID is ef3aa953-5d38-41bd-a10f-170fc1568fd1 2025-02-20 02:22:14,843 - DEBUG - Response for create_network : {'network': {'id': 'e61f107a-8ed7-4177-ae0d-d17ed144143d', 'name': 'ctest-ext_vn-40266905', 'tenant_id': '1d2cc4efc0284efea5f459b51a98f40f', 'project_id': '1d2cc4efc0284efea5f459b51a98f40f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39208423', 'ctest-ext_vn-40266905'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 02:22:15,039 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e72e8cb0-e989-47c0-9190-b0632ba29931', 'name': '', 'tenant_id': '1d2cc4efc0284efea5f459b51a98f40f', 'network_id': 'e61f107a-8ed7-4177-ae0d-d17ed144143d', 'ip_version': 4, 'cidr': '77.117.127.0/26', 'allocation_pools': [{'start': '77.117.127.2', 'end': '77.117.127.62'}], 'gateway_ip': '77.117.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.117.127.2', 'tags': [], 'project_id': '1d2cc4efc0284efea5f459b51a98f40f'}} 2025-02-20 02:22:15,057 - INFO - Created VN ctest-ext_vn-40266905 2025-02-20 02:22:15,110 - DEBUG - VN ctest-ext_vn-40266905 UUID is e61f107a-8ed7-4177-ae0d-d17ed144143d 2025-02-20 02:22:15,312 - DEBUG - Services list from nova: [, , ] 2025-02-20 02:22:16,310 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2750-1) 2025-02-20 02:22:17,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2750-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2750-1) 2025-02-20 02:22:17,472 - INFO - Setting gateway for router e9fcfba9-bbd3-4b09-89ad-d669b44b96da to network e61f107a-8ed7-4177-ae0d-d17ed144143d 2025-02-20 02:22:17,524 - INFO - Adding interface with subnet_id 6f09b836-d34d-433f-8671-dc0fa2524692, port_id None to router e9fcfba9-bbd3-4b09-89ad-d669b44b96da 2025-02-20 02:22:17,807 - INFO - Waiting for VM ctest-TestRoutersBasic-39208423-33569945 to be up.. 2025-02-20 02:22:17,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-20 02:22:23,069 - DEBUG - VM is in ACTIVE state now 2025-02-20 02:22:23,069 - INFO - VM name : ctest-TestRoutersBasic-39208423-33569945 2025-02-20 02:22:23,153 - DEBUG - VM ctest-TestRoutersBasic-39208423-33569945 ID is c4c7478e-6fa2-4059-9d1c-e8b856a50d76 2025-02-20 02:22:23,173 - DEBUG - VM ctest-TestRoutersBasic-39208423-33569945 launched on Node cn-jenkins-deploy-platform-ansible-os-2750-1 2025-02-20 02:22:23,251 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/c4c7478e-6fa2-4059-9d1c-e8b856a50d76 2025-02-20 02:22:23,542 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/c4c7478e-6fa2-4059-9d1c-e8b856a50d76 2025-02-20 02:22:23,573 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/8ab78a37-232d-4a67-863b-4b53272c59a8 2025-02-20 02:22:26,813 - 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 1007ms') 2025-02-20 02:22:26,813 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39208423-33569945 failed! 2025-02-20 02:22:26,870 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39208423:ctest-vn-03090469 is 183.75.156.1 and allocation pool is NOT set 2025-02-20 02:22:28,934 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.097/3.349/4.602/1.252 ms') 2025-02-20 02:22:28,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39208423-33569945 passed 2025-02-20 02:22:29,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:22:29,082 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39208423-33569945, IP 183.75.156.3, Port 22 2025-02-20 02:22:29,234 - DEBUG - VM ctest-TestRoutersBasic-39208423-33569945 is ready for SSH connections 2025-02-20 02:22:29,234 - INFO - Waiting for VM ctest-TestRoutersBasic-39208423-90472809 to be up.. 2025-02-20 02:22:29,308 - DEBUG - VM is in ACTIVE state now 2025-02-20 02:22:29,309 - INFO - VM name : ctest-TestRoutersBasic-39208423-90472809 2025-02-20 02:22:29,396 - DEBUG - VM ctest-TestRoutersBasic-39208423-90472809 ID is d1e1bcd9-f96f-4e60-b6c8-b6f7fba1d803 2025-02-20 02:22:29,396 - DEBUG - VM ctest-TestRoutersBasic-39208423-90472809 launched on Node cn-jenkins-deploy-platform-ansible-os-2750-1 2025-02-20 02:22:29,478 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/d1e1bcd9-f96f-4e60-b6c8-b6f7fba1d803 2025-02-20 02:22:29,487 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/a47c5c5b-86bb-4ffe-bb54-6a8338541add 2025-02-20 02:22:30,730 - 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=4.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.866 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.866/2.446/4.026/1.580 ms') 2025-02-20 02:22:30,731 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39208423-90472809 passed 2025-02-20 02:22:30,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:22:30,882 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39208423-90472809, IP 77.117.127.3, Port 22 2025-02-20 02:22:31,041 - DEBUG - VM ctest-TestRoutersBasic-39208423-90472809 is ready for SSH connections 2025-02-20 02:22:31,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:22:31,041 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.117.127.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-02-20 02:22:31,041 - DEBUG - ping -s 56 -c 3 -W 1 77.117.127.3 2025-02-20 02:22:34,725 - DEBUG - PING 77.117.127.3 (77.117.127.3): 56 data bytes 64 bytes from 77.117.127.3: seq=0 ttl=62 time=6.243 ms 64 bytes from 77.117.127.3: seq=1 ttl=62 time=0.736 ms 64 bytes from 77.117.127.3: seq=2 ttl=62 time=1.461 ms --- 77.117.127.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.736/2.813/6.243 ms 2025-02-20 02:22:34,726 - INFO - Ping to IP 77.117.127.3 from VM ctest-TestRoutersBasic-39208423-33569945 passed 2025-02-20 02:22:34,726 - INFO - Deleting interface with subnet_id 6f09b836-d34d-433f-8671-dc0fa2524692, port_id None from router e9fcfba9-bbd3-4b09-89ad-d669b44b96da 2025-02-20 02:22:34,907 - INFO - Deleting VM ctest-TestRoutersBasic-39208423-90472809 2025-02-20 02:22:34,972 - INFO - Deleting VM ctest-TestRoutersBasic-39208423-33569945 2025-02-20 02:22:35,046 - INFO - Deleting VN ctest-ext_vn-40266905 2025-02-20 02:22:35,110 - DEBUG - VN e61f107a-8ed7-4177-ae0d-d17ed144143d still in use: Unable to complete operation on network e61f107a-8ed7-4177-ae0d-d17ed144143d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65e4e8f4-5817-4025-861f-de7181c0f1b3'] 2025-02-20 02:22:35,110 - WARNING - Deleting VN ctest-ext_vn-40266905 failed..Will retry 2025-02-20 02:22:37,209 - DEBUG - Response for deleting network () 2025-02-20 02:22:37,210 - INFO - Deleting VN ctest-vn-03090469 2025-02-20 02:22:37,304 - DEBUG - Response for deleting network () 2025-02-20 02:22:37,560 - DEBUG - No XMPP flaps were noticed during the test 2025-02-20 02:22:37,560 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-02-20 02:22:37,560 - INFO - -------------------------------------------------------------------------------- 2025-02-20 02:22:38,223 - INFO - Deleted project: ctest-TestRoutersBasic-39208423, ID : 1d2cc4ef-c028-4efe-a5f4-59b51a98f40f