2025-10-22 19:48:21,776 - INFO - Reading existing Domain with UUID cc7bf0c9-b3f5-4805-bbd2-f13c8e4f2bc8 2025-10-22 19:48:21,791 - INFO - Using existing domain ['admin_domain'](cc7bf0c9-b3f5-4805-bbd2-f13c8e4f2bc8) 2025-10-22 19:48:22,087 - INFO - Project ctest-TestRoutersBasic-00737303 not found, creating it 2025-10-22 19:48:22,658 - INFO - Created Project:ctest-TestRoutersBasic-00737303, ID : 9ad78915-70bf-4a39-8641-d353adb183f2 2025-10-22 19:48:24,673 - INFO - ================================================================================ 2025-10-22 19:48:24,673 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 19:48:24,673 - 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-22 19:48:25,093 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.0.0.141': '0'}} with 2025-10-22 19:48:25,093 - INFO - Initial checks done. Running the testcase now 2025-10-22 19:48:25,093 - INFO - 2025-10-22 19:48:25,971 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00737303 2025-10-22 19:48:26,079 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00737303 2025-10-22 19:48:26,439 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-00737303', 'default']} 2025-10-22 19:48:27,040 - DEBUG - Response for create_network : {'network': {'id': '5f446959-971a-479f-ab11-144541145de5', 'name': 'ctest-vn-77319061', 'tenant_id': '9ad7891570bf4a398641d353adb183f2', 'project_id': '9ad7891570bf4a398641d353adb183f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-00737303', 'ctest-vn-77319061'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 19:48:27,269 - DEBUG - Response for create_subnet : {'subnet': {'id': '9041743f-09bd-4b4f-a5db-f0e3d95bd8de', 'name': '', 'tenant_id': '9ad7891570bf4a398641d353adb183f2', 'network_id': '5f446959-971a-479f-ab11-144541145de5', 'ip_version': 4, 'cidr': '93.181.25.128/26', 'allocation_pools': [{'start': '93.181.25.130', 'end': '93.181.25.190'}], 'gateway_ip': '93.181.25.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T19:48:27.146539', 'updated_at': '2025-10-22T19:48:27.146539', 'dns_server_address': '93.181.25.130', 'tags': [], 'project_id': '9ad7891570bf4a398641d353adb183f2'}} 2025-10-22 19:48:27,338 - INFO - Created VN ctest-vn-77319061 2025-10-22 19:48:27,399 - DEBUG - VN ctest-vn-77319061 UUID is 5f446959-971a-479f-ab11-144541145de5 2025-10-22 19:48:28,065 - DEBUG - Response for create_network : {'network': {'id': 'c0c2f038-a1cb-43a5-9360-e74fa0ac2307', 'name': 'ctest-ext_vn-31551136', 'tenant_id': '9ad7891570bf4a398641d353adb183f2', 'project_id': '9ad7891570bf4a398641d353adb183f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-00737303', 'ctest-ext_vn-31551136'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 19:48:28,377 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bb761a0-4b2b-45b5-a713-d3a0b1eaef27', 'name': '', 'tenant_id': '9ad7891570bf4a398641d353adb183f2', 'network_id': 'c0c2f038-a1cb-43a5-9360-e74fa0ac2307', 'ip_version': 4, 'cidr': '112.242.238.64/26', 'allocation_pools': [{'start': '112.242.238.66', 'end': '112.242.238.126'}], 'gateway_ip': '112.242.238.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T19:48:28.241294', 'updated_at': '2025-10-22T19:48:28.241294', 'dns_server_address': '112.242.238.66', 'tags': [], 'project_id': '9ad7891570bf4a398641d353adb183f2'}} 2025-10-22 19:48:28,449 - INFO - Created VN ctest-ext_vn-31551136 2025-10-22 19:48:28,507 - DEBUG - VN ctest-ext_vn-31551136 UUID is c0c2f038-a1cb-43a5-9360-e74fa0ac2307 2025-10-22 19:48:28,821 - DEBUG - Services list from nova: [, , ] 2025-10-22 19:48:30,133 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-605-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-605-1) 2025-10-22 19:48:31,837 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-605-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-605-1) 2025-10-22 19:48:32,022 - INFO - Setting gateway for router ca4577b5-ef75-4798-97f4-2441a692438b to network c0c2f038-a1cb-43a5-9360-e74fa0ac2307 2025-10-22 19:48:32,197 - INFO - Adding interface with subnet_id 9041743f-09bd-4b4f-a5db-f0e3d95bd8de, port_id None to router ca4577b5-ef75-4798-97f4-2441a692438b 2025-10-22 19:48:32,966 - INFO - Waiting for VM ctest-TestRoutersBasic-00737303-97076387 to be up.. 2025-10-22 19:48:33,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 19:48:38,500 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:48:38,500 - INFO - VM name : ctest-TestRoutersBasic-00737303-97076387 2025-10-22 19:48:38,676 - DEBUG - VM ctest-TestRoutersBasic-00737303-97076387 ID is 5b0b7bb7-31ac-46c5-b8a5-82f64fdcfd16 2025-10-22 19:48:38,720 - DEBUG - VM ctest-TestRoutersBasic-00737303-97076387 launched on Node cn-jenkins-deploy-platform-juju-os-605-1 2025-10-22 19:48:38,886 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/5b0b7bb7-31ac-46c5-b8a5-82f64fdcfd16 2025-10-22 19:48:39,259 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/5b0b7bb7-31ac-46c5-b8a5-82f64fdcfd16 2025-10-22 19:48:39,364 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/573f6921-1153-42d5-8005-1f938885fe25 2025-10-22 19:48:42,894 - 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 1013ms') 2025-10-22 19:48:42,895 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00737303-97076387 failed! 2025-10-22 19:48:42,955 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-00737303:ctest-vn-77319061 is 93.181.25.129 and allocation pool is NOT set 2025-10-22 19:48:45,056 - 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=6.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.90 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 = 2.899/4.850/6.801/1.951 ms') 2025-10-22 19:48:45,057 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00737303-97076387 passed 2025-10-22 19:48:45,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:48:45,235 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00737303-97076387, IP 93.181.25.131, Port 22 2025-10-22 19:48:45,351 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-22 19:48:45,633 - DEBUG - VM ctest-TestRoutersBasic-00737303-97076387 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 19:48:50,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:48:50,634 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00737303-97076387, IP 93.181.25.131, Port 22 2025-10-22 19:48:50,872 - DEBUG - VM ctest-TestRoutersBasic-00737303-97076387 is ready for SSH connections 2025-10-22 19:48:50,872 - INFO - Waiting for VM ctest-TestRoutersBasic-00737303-64057563 to be up.. 2025-10-22 19:48:51,046 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:48:51,047 - INFO - VM name : ctest-TestRoutersBasic-00737303-64057563 2025-10-22 19:48:51,203 - DEBUG - VM ctest-TestRoutersBasic-00737303-64057563 ID is 72219171-25b5-425f-bd0c-1c2f95a0bdb6 2025-10-22 19:48:51,203 - DEBUG - VM ctest-TestRoutersBasic-00737303-64057563 launched on Node cn-jenkins-deploy-platform-juju-os-605-1 2025-10-22 19:48:51,372 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/72219171-25b5-425f-bd0c-1c2f95a0bdb6 2025-10-22 19:48:51,432 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/ede8d94a-15f8-47cc-a353-471ec444cc04 2025-10-22 19:48:52,901 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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.486/2.473/4.461/1.987 ms') 2025-10-22 19:48:52,901 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00737303-64057563 passed 2025-10-22 19:48:53,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:48:53,067 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00737303-64057563, IP 112.242.238.67, Port 22 2025-10-22 19:48:53,296 - DEBUG - VM ctest-TestRoutersBasic-00737303-64057563 is ready for SSH connections 2025-10-22 19:48:53,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:48:53,297 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.242.238.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 19:48:53,297 - DEBUG - ping -s 56 -c 3 -W 1 112.242.238.67 2025-10-22 19:48:57,070 - DEBUG - PING 112.242.238.67 (112.242.238.67): 56 data bytes 64 bytes from 112.242.238.67: seq=0 ttl=62 time=8.702 ms 64 bytes from 112.242.238.67: seq=1 ttl=62 time=1.333 ms 64 bytes from 112.242.238.67: seq=2 ttl=62 time=1.592 ms --- 112.242.238.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.333/3.875/8.702 ms 2025-10-22 19:48:57,070 - INFO - Ping to IP 112.242.238.67 from VM ctest-TestRoutersBasic-00737303-97076387 passed 2025-10-22 19:48:57,070 - INFO - Deleting interface with subnet_id 9041743f-09bd-4b4f-a5db-f0e3d95bd8de, port_id None from router ca4577b5-ef75-4798-97f4-2441a692438b 2025-10-22 19:48:57,479 - INFO - Deleting VM ctest-TestRoutersBasic-00737303-64057563 2025-10-22 19:48:57,599 - INFO - Deleting VM ctest-TestRoutersBasic-00737303-97076387 2025-10-22 19:48:57,735 - INFO - Deleting VN ctest-ext_vn-31551136 2025-10-22 19:48:57,951 - DEBUG - VN c0c2f038-a1cb-43a5-9360-e74fa0ac2307 still in use: Unable to complete operation on network c0c2f038-a1cb-43a5-9360-e74fa0ac2307. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-faebc8b3-f2b0-4a59-9f45-f9b28c2e417e'] 2025-10-22 19:48:57,952 - WARNING - Deleting VN ctest-ext_vn-31551136 failed..Will retry 2025-10-22 19:49:00,182 - DEBUG - Response for deleting network () 2025-10-22 19:49:00,182 - INFO - Deleting VN ctest-vn-77319061 2025-10-22 19:49:00,395 - DEBUG - Response for deleting network () 2025-10-22 19:49:00,824 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 19:49:00,825 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:36]
2025-10-22 19:49:00,825 - INFO - -------------------------------------------------------------------------------- 2025-10-22 19:49:01,648 - INFO - Deleted project: ctest-TestRoutersBasic-00737303, ID : 9ad78915-70bf-4a39-8641-d353adb183f2