2025-07-21 18:57:52,644 - INFO - Domain Default found not creating 2025-07-21 18:57:53,025 - INFO - Project ctest-TestRoutersBasic-35464044 not found, creating it 2025-07-21 18:57:53,801 - INFO - Created Project:ctest-TestRoutersBasic-35464044, ID : 45b5ed04-15b6-4573-bf54-23f458f7d83d 2025-07-21 18:57:56,097 - INFO - ================================================================================ 2025-07-21 18:57:56,098 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-21 18:57:56,098 - 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-07-21 18:57:56,404 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-21 18:57:56,404 - INFO - Initial checks done. Running the testcase now 2025-07-21 18:57:56,404 - INFO - 2025-07-21 18:57:57,357 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35464044 2025-07-21 18:57:57,466 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35464044 2025-07-21 18:57:57,889 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35464044', 'default']} 2025-07-21 18:57:58,418 - DEBUG - Response for create_network : {'network': {'id': 'ca010ea0-b801-452c-a0e8-d524c393d17b', 'name': 'ctest-vn-20033759', 'tenant_id': '45b5ed0415b64573bf5423f458f7d83d', 'project_id': '45b5ed0415b64573bf5423f458f7d83d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35464044', 'ctest-vn-20033759'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 18:57:58,640 - DEBUG - Response for create_subnet : {'subnet': {'id': '197f2ffd-23d2-49f7-bff9-e34e77f8cfab', 'name': '', 'tenant_id': '45b5ed0415b64573bf5423f458f7d83d', 'network_id': 'ca010ea0-b801-452c-a0e8-d524c393d17b', 'ip_version': 4, 'cidr': '39.205.193.0/26', 'allocation_pools': [{'start': '39.205.193.2', 'end': '39.205.193.62'}], 'gateway_ip': '39.205.193.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.205.193.2', 'tags': [], 'project_id': '45b5ed0415b64573bf5423f458f7d83d'}} 2025-07-21 18:57:58,672 - INFO - Created VN ctest-vn-20033759 2025-07-21 18:57:58,739 - DEBUG - VN ctest-vn-20033759 UUID is ca010ea0-b801-452c-a0e8-d524c393d17b 2025-07-21 18:57:59,335 - DEBUG - Response for create_network : {'network': {'id': 'cfa1599b-4465-48b7-8e42-adc5e5fea8e2', 'name': 'ctest-ext_vn-65791753', 'tenant_id': '45b5ed0415b64573bf5423f458f7d83d', 'project_id': '45b5ed0415b64573bf5423f458f7d83d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35464044', 'ctest-ext_vn-65791753'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 18:57:59,508 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f18842a-f405-4637-9f13-cd51f0b17b7e', 'name': '', 'tenant_id': '45b5ed0415b64573bf5423f458f7d83d', 'network_id': 'cfa1599b-4465-48b7-8e42-adc5e5fea8e2', 'ip_version': 4, 'cidr': '52.31.128.64/26', 'allocation_pools': [{'start': '52.31.128.66', 'end': '52.31.128.126'}], 'gateway_ip': '52.31.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.31.128.66', 'tags': [], 'project_id': '45b5ed0415b64573bf5423f458f7d83d'}} 2025-07-21 18:57:59,526 - INFO - Created VN ctest-ext_vn-65791753 2025-07-21 18:57:59,582 - DEBUG - VN ctest-ext_vn-65791753 UUID is cfa1599b-4465-48b7-8e42-adc5e5fea8e2 2025-07-21 18:57:59,803 - DEBUG - Services list from nova: [, , ] 2025-07-21 18:58:01,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3683-1) 2025-07-21 18:58:02,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3683-1) 2025-07-21 18:58:03,002 - INFO - Setting gateway for router c5bb2973-e12b-4562-99b6-59b1a7319da1 to network cfa1599b-4465-48b7-8e42-adc5e5fea8e2 2025-07-21 18:58:03,094 - INFO - Adding interface with subnet_id 197f2ffd-23d2-49f7-bff9-e34e77f8cfab, port_id None to router c5bb2973-e12b-4562-99b6-59b1a7319da1 2025-07-21 18:58:03,494 - INFO - Waiting for VM ctest-TestRoutersBasic-35464044-56747302 to be up.. 2025-07-21 18:58:03,645 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 18:58:08,844 - DEBUG - VM is in ACTIVE state now 2025-07-21 18:58:08,844 - INFO - VM name : ctest-TestRoutersBasic-35464044-56747302 2025-07-21 18:58:09,033 - DEBUG - VM ctest-TestRoutersBasic-35464044-56747302 ID is bf048c9c-f679-4acf-9b2c-131b0200d7b2 2025-07-21 18:58:09,085 - DEBUG - VM ctest-TestRoutersBasic-35464044-56747302 launched on Node cn-jenkins-deploy-platform-ansible-os-3683-1 2025-07-21 18:58:09,279 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bf048c9c-f679-4acf-9b2c-131b0200d7b2 2025-07-21 18:58:09,609 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bf048c9c-f679-4acf-9b2c-131b0200d7b2 2025-07-21 18:58:09,658 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8be4a3e0-b427-42f6-b943-dfa88ace0117 2025-07-21 18:58:13,005 - 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 1023ms') 2025-07-21 18:58:13,005 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35464044-56747302 failed! 2025-07-21 18:58:13,074 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35464044:ctest-vn-20033759 is 39.205.193.1 and allocation pool is NOT set 2025-07-21 18:58:15,152 - 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=9.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.89 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.888/5.674/9.460/3.786 ms') 2025-07-21 18:58:15,153 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35464044-56747302 passed 2025-07-21 18:58:15,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 18:58:15,327 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35464044-56747302, IP 39.205.193.3, Port 22 2025-07-21 18:58:15,526 - DEBUG - VM ctest-TestRoutersBasic-35464044-56747302 is ready for SSH connections 2025-07-21 18:58:15,526 - INFO - Waiting for VM ctest-TestRoutersBasic-35464044-88995522 to be up.. 2025-07-21 18:58:15,690 - DEBUG - VM is in ACTIVE state now 2025-07-21 18:58:15,690 - INFO - VM name : ctest-TestRoutersBasic-35464044-88995522 2025-07-21 18:58:15,814 - DEBUG - VM ctest-TestRoutersBasic-35464044-88995522 ID is c7ac0c43-a0e7-49ae-a324-5d1ba66ec8d3 2025-07-21 18:58:15,814 - DEBUG - VM ctest-TestRoutersBasic-35464044-88995522 launched on Node cn-jenkins-deploy-platform-ansible-os-3683-1 2025-07-21 18:58:15,916 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c7ac0c43-a0e7-49ae-a324-5d1ba66ec8d3 2025-07-21 18:58:15,931 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/81d08a97-0f9b-4a19-bdf6-3dc4733953bf 2025-07-21 18:58:17,246 - 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=6.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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.087/3.689/6.292/2.602 ms') 2025-07-21 18:58:17,246 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35464044-88995522 passed 2025-07-21 18:58:17,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 18:58:17,422 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35464044-88995522, IP 52.31.128.67, Port 22 2025-07-21 18:58:17,621 - DEBUG - VM ctest-TestRoutersBasic-35464044-88995522 is ready for SSH connections 2025-07-21 18:58:17,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 18:58:17,622 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.31.128.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 18:58:17,622 - DEBUG - ping -s 56 -c 3 -W 1 52.31.128.67 2025-07-21 18:58:21,728 - DEBUG - PING 52.31.128.67 (52.31.128.67): 56 data bytes 64 bytes from 52.31.128.67: seq=0 ttl=62 time=10.175 ms 64 bytes from 52.31.128.67: seq=1 ttl=62 time=1.256 ms 64 bytes from 52.31.128.67: seq=2 ttl=62 time=1.862 ms --- 52.31.128.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.256/4.431/10.175 ms 2025-07-21 18:58:21,728 - INFO - Ping to IP 52.31.128.67 from VM ctest-TestRoutersBasic-35464044-56747302 passed 2025-07-21 18:58:21,729 - INFO - Deleting interface with subnet_id 197f2ffd-23d2-49f7-bff9-e34e77f8cfab, port_id None from router c5bb2973-e12b-4562-99b6-59b1a7319da1 2025-07-21 18:58:22,075 - INFO - Deleting VM ctest-TestRoutersBasic-35464044-88995522 2025-07-21 18:58:22,166 - INFO - Deleting VM ctest-TestRoutersBasic-35464044-56747302 2025-07-21 18:58:22,258 - INFO - Deleting VN ctest-ext_vn-65791753 2025-07-21 18:58:22,328 - DEBUG - VN cfa1599b-4465-48b7-8e42-adc5e5fea8e2 still in use: Unable to complete operation on network cfa1599b-4465-48b7-8e42-adc5e5fea8e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e0df69f-02af-4472-a2ff-6a929be022a1'] 2025-07-21 18:58:22,329 - WARNING - Deleting VN ctest-ext_vn-65791753 failed..Will retry 2025-07-21 18:58:24,559 - DEBUG - Response for deleting network () 2025-07-21 18:58:24,560 - INFO - Deleting VN ctest-vn-20033759 2025-07-21 18:58:24,719 - DEBUG - Response for deleting network () 2025-07-21 18:58:25,034 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 18:58:25,034 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-07-21 18:58:25,034 - INFO - -------------------------------------------------------------------------------- 2025-07-21 18:58:26,183 - INFO - Deleted project: ctest-TestRoutersBasic-35464044, ID : 45b5ed04-15b6-4573-bf54-23f458f7d83d