2025-10-27 01:54:05,137 - INFO - Reading existing Domain with UUID 15e0ce75-9595-48f6-b10e-49e8c56bef44 2025-10-27 01:54:05,149 - INFO - Using existing domain ['admin_domain'](15e0ce75-9595-48f6-b10e-49e8c56bef44) 2025-10-27 01:54:05,337 - INFO - Project ctest-TestRoutersBasic-59933259 not found, creating it 2025-10-27 01:54:05,854 - INFO - Created Project:ctest-TestRoutersBasic-59933259, ID : b2a1609f-ef8d-455a-b75f-99c80215913b 2025-10-27 01:54:07,570 - INFO - ================================================================================ 2025-10-27 01:54:07,570 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-27 01:54:07,570 - 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-10-27 01:54:07,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-10-27 01:54:07,957 - INFO - Initial checks done. Running the testcase now 2025-10-27 01:54:07,957 - INFO - 2025-10-27 01:54:08,748 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59933259 2025-10-27 01:54:08,848 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59933259 2025-10-27 01:54:09,172 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-59933259', 'default']} 2025-10-27 01:54:09,657 - DEBUG - Response for create_network : {'network': {'id': '8b6dc315-b459-4299-96b4-fad4e40e3de6', 'name': 'ctest-vn-53411990', 'tenant_id': 'b2a1609fef8d455ab75f99c80215913b', 'project_id': 'b2a1609fef8d455ab75f99c80215913b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-59933259', 'ctest-vn-53411990'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-27 01:54:09,905 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b93e47b-5d48-4da4-b0b2-2933e8df8e8b', 'name': '', 'tenant_id': 'b2a1609fef8d455ab75f99c80215913b', 'network_id': '8b6dc315-b459-4299-96b4-fad4e40e3de6', 'ip_version': 4, 'cidr': '44.115.187.0/26', 'allocation_pools': [{'start': '44.115.187.2', 'end': '44.115.187.62'}], 'gateway_ip': '44.115.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-27T01:54:09.806319', 'updated_at': '2025-10-27T01:54:09.806319', 'dns_server_address': '44.115.187.2', 'tags': [], 'project_id': 'b2a1609fef8d455ab75f99c80215913b'}} 2025-10-27 01:54:09,974 - INFO - Created VN ctest-vn-53411990 2025-10-27 01:54:10,032 - DEBUG - VN ctest-vn-53411990 UUID is 8b6dc315-b459-4299-96b4-fad4e40e3de6 2025-10-27 01:54:10,536 - DEBUG - Response for create_network : {'network': {'id': '4210ed3d-5a15-4ce5-a73c-4c66fc3d2c90', 'name': 'ctest-ext_vn-43133257', 'tenant_id': 'b2a1609fef8d455ab75f99c80215913b', 'project_id': 'b2a1609fef8d455ab75f99c80215913b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-59933259', 'ctest-ext_vn-43133257'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-27 01:54:10,789 - DEBUG - Response for create_subnet : {'subnet': {'id': '07b60b50-ee0d-4052-9c1f-158adc2e5d4c', 'name': '', 'tenant_id': 'b2a1609fef8d455ab75f99c80215913b', 'network_id': '4210ed3d-5a15-4ce5-a73c-4c66fc3d2c90', 'ip_version': 4, 'cidr': '138.209.25.128/26', 'allocation_pools': [{'start': '138.209.25.130', 'end': '138.209.25.190'}], 'gateway_ip': '138.209.25.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-27T01:54:10.694760', 'updated_at': '2025-10-27T01:54:10.694760', 'dns_server_address': '138.209.25.130', 'tags': [], 'project_id': 'b2a1609fef8d455ab75f99c80215913b'}} 2025-10-27 01:54:10,855 - INFO - Created VN ctest-ext_vn-43133257 2025-10-27 01:54:10,908 - DEBUG - VN ctest-ext_vn-43133257 UUID is 4210ed3d-5a15-4ce5-a73c-4c66fc3d2c90 2025-10-27 01:54:11,188 - DEBUG - Services list from nova: [, , ] 2025-10-27 01:54:12,822 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-607-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-607-1) 2025-10-27 01:54:14,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-607-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-607-1) 2025-10-27 01:54:14,426 - INFO - Setting gateway for router 326d994a-17d7-437b-aee2-8a2d99651d24 to network 4210ed3d-5a15-4ce5-a73c-4c66fc3d2c90 2025-10-27 01:54:14,588 - INFO - Adding interface with subnet_id 1b93e47b-5d48-4da4-b0b2-2933e8df8e8b, port_id None to router 326d994a-17d7-437b-aee2-8a2d99651d24 2025-10-27 01:54:15,162 - INFO - Waiting for VM ctest-TestRoutersBasic-59933259-89884556 to be up.. 2025-10-27 01:54:15,328 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 01:54:20,577 - DEBUG - VM is in ACTIVE state now 2025-10-27 01:54:20,577 - INFO - VM name : ctest-TestRoutersBasic-59933259-89884556 2025-10-27 01:54:20,721 - DEBUG - VM ctest-TestRoutersBasic-59933259-89884556 ID is 023d1781-ff13-410a-98d4-6c27574976c2 2025-10-27 01:54:20,758 - DEBUG - VM ctest-TestRoutersBasic-59933259-89884556 launched on Node cn-jenkins-deploy-platform-juju-os-607-1 2025-10-27 01:54:20,903 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/023d1781-ff13-410a-98d4-6c27574976c2 2025-10-27 01:54:21,266 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/023d1781-ff13-410a-98d4-6c27574976c2 2025-10-27 01:54:21,353 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/a6ccf2f7-edda-4598-8c82-072c97760dac 2025-10-27 01:54:24,816 - 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 1017ms') 2025-10-27 01:54:24,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59933259-89884556 failed! 2025-10-27 01:54:24,872 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-59933259:ctest-vn-53411990 is 44.115.187.1 and allocation pool is NOT set 2025-10-27 01:54:26,958 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.598 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 = 0.598/2.717/4.837/2.119 ms') 2025-10-27 01:54:26,958 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59933259-89884556 passed 2025-10-27 01:54:27,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:54:27,116 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59933259-89884556, IP 44.115.187.3, Port 22 2025-10-27 01:54:27,330 - DEBUG - VM ctest-TestRoutersBasic-59933259-89884556 is ready for SSH connections 2025-10-27 01:54:27,330 - INFO - Waiting for VM ctest-TestRoutersBasic-59933259-06158082 to be up.. 2025-10-27 01:54:27,475 - DEBUG - VM is in ACTIVE state now 2025-10-27 01:54:27,475 - INFO - VM name : ctest-TestRoutersBasic-59933259-06158082 2025-10-27 01:54:27,609 - DEBUG - VM ctest-TestRoutersBasic-59933259-06158082 ID is 8ee22b68-93e2-4386-bc10-89eab1502ed5 2025-10-27 01:54:27,609 - DEBUG - VM ctest-TestRoutersBasic-59933259-06158082 launched on Node cn-jenkins-deploy-platform-juju-os-607-1 2025-10-27 01:54:27,746 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/8ee22b68-93e2-4386-bc10-89eab1502ed5 2025-10-27 01:54:27,801 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/444b16ae-1c2e-457d-a066-61f937e00d11 2025-10-27 01:54:29,257 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.600/2.775/1.175 ms') 2025-10-27 01:54:29,257 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59933259-06158082 passed 2025-10-27 01:54:29,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:54:29,412 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59933259-06158082, IP 138.209.25.131, Port 22 2025-10-27 01:54:29,630 - DEBUG - VM ctest-TestRoutersBasic-59933259-06158082 is ready for SSH connections 2025-10-27 01:54:29,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:54:29,631 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.209.25.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 01:54:29,631 - DEBUG - ping -s 56 -c 3 -W 1 138.209.25.131 2025-10-27 01:54:33,665 - DEBUG - PING 138.209.25.131 (138.209.25.131): 56 data bytes 64 bytes from 138.209.25.131: seq=0 ttl=62 time=5.404 ms 64 bytes from 138.209.25.131: seq=1 ttl=62 time=1.097 ms 64 bytes from 138.209.25.131: seq=2 ttl=62 time=0.959 ms --- 138.209.25.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/2.486/5.404 ms 2025-10-27 01:54:33,665 - INFO - Ping to IP 138.209.25.131 from VM ctest-TestRoutersBasic-59933259-89884556 passed 2025-10-27 01:54:33,665 - INFO - Deleting interface with subnet_id 1b93e47b-5d48-4da4-b0b2-2933e8df8e8b, port_id None from router 326d994a-17d7-437b-aee2-8a2d99651d24 2025-10-27 01:54:34,067 - INFO - Deleting VM ctest-TestRoutersBasic-59933259-06158082 2025-10-27 01:54:34,174 - INFO - Deleting VM ctest-TestRoutersBasic-59933259-89884556 2025-10-27 01:54:34,297 - INFO - Deleting VN ctest-ext_vn-43133257 2025-10-27 01:54:34,499 - DEBUG - VN 4210ed3d-5a15-4ce5-a73c-4c66fc3d2c90 still in use: Unable to complete operation on network 4210ed3d-5a15-4ce5-a73c-4c66fc3d2c90. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0c7bb417-a0d5-4f5b-afaf-234127f6490c'] 2025-10-27 01:54:34,499 - WARNING - Deleting VN ctest-ext_vn-43133257 failed..Will retry 2025-10-27 01:54:36,736 - DEBUG - Response for deleting network () 2025-10-27 01:54:36,737 - INFO - Deleting VN ctest-vn-53411990 2025-10-27 01:54:36,924 - DEBUG - Response for deleting network () 2025-10-27 01:54:37,325 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 01:54:37,325 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2025-10-27 01:54:37,325 - INFO - -------------------------------------------------------------------------------- 2025-10-27 01:54:38,077 - INFO - Deleted project: ctest-TestRoutersBasic-59933259, ID : b2a1609f-ef8d-455a-b75f-99c80215913b