2025-06-16 07:06:20,026 - INFO - Domain Default found not creating 2025-06-16 07:06:20,199 - INFO - Project ctest-TestRoutersBasic-43252266 not found, creating it 2025-06-16 07:06:20,714 - INFO - Created Project:ctest-TestRoutersBasic-43252266, ID : 1ef1dee2-3f40-465a-8d8e-9437b937e0c4 2025-06-16 07:06:22,353 - INFO - ================================================================================ 2025-06-16 07:06:22,353 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-16 07:06:22,353 - 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-06-16 07:06:22,615 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-16 07:06:22,615 - INFO - Initial checks done. Running the testcase now 2025-06-16 07:06:22,615 - INFO - 2025-06-16 07:06:23,442 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43252266 2025-06-16 07:06:23,543 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43252266 2025-06-16 07:06:23,895 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43252266', 'default']} 2025-06-16 07:06:24,228 - DEBUG - Response for create_network : {'network': {'id': '9fc137f1-fffb-4fda-9e06-daf55b410a0e', 'name': 'ctest-vn-95167949', 'tenant_id': '1ef1dee23f40465a8d8e9437b937e0c4', 'project_id': '1ef1dee23f40465a8d8e9437b937e0c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43252266', 'ctest-vn-95167949'], 'port_security_enabled': True, 'description': ''}} 2025-06-16 07:06:24,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '42886391-6240-4acf-a57f-719e1cfaf499', 'name': '', 'tenant_id': '1ef1dee23f40465a8d8e9437b937e0c4', 'network_id': '9fc137f1-fffb-4fda-9e06-daf55b410a0e', 'ip_version': 4, 'cidr': '59.214.88.64/26', 'allocation_pools': [{'start': '59.214.88.66', 'end': '59.214.88.126'}], 'gateway_ip': '59.214.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.214.88.66', 'tags': [], 'project_id': '1ef1dee23f40465a8d8e9437b937e0c4'}} 2025-06-16 07:06:24,446 - INFO - Created VN ctest-vn-95167949 2025-06-16 07:06:24,499 - DEBUG - VN ctest-vn-95167949 UUID is 9fc137f1-fffb-4fda-9e06-daf55b410a0e 2025-06-16 07:06:24,862 - DEBUG - Response for create_network : {'network': {'id': '32d5d0a3-e1c9-42df-83fe-0830bcff160d', 'name': 'ctest-ext_vn-14769370', 'tenant_id': '1ef1dee23f40465a8d8e9437b937e0c4', 'project_id': '1ef1dee23f40465a8d8e9437b937e0c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43252266', 'ctest-ext_vn-14769370'], 'port_security_enabled': True, 'description': ''}} 2025-06-16 07:06:25,125 - DEBUG - Response for create_subnet : {'subnet': {'id': '97d75bcd-610d-4e14-a1d5-6b5e7f022578', 'name': '', 'tenant_id': '1ef1dee23f40465a8d8e9437b937e0c4', 'network_id': '32d5d0a3-e1c9-42df-83fe-0830bcff160d', 'ip_version': 4, 'cidr': '201.75.139.64/26', 'allocation_pools': [{'start': '201.75.139.66', 'end': '201.75.139.126'}], 'gateway_ip': '201.75.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.75.139.66', 'tags': [], 'project_id': '1ef1dee23f40465a8d8e9437b937e0c4'}} 2025-06-16 07:06:25,145 - INFO - Created VN ctest-ext_vn-14769370 2025-06-16 07:06:25,199 - DEBUG - VN ctest-ext_vn-14769370 UUID is 32d5d0a3-e1c9-42df-83fe-0830bcff160d 2025-06-16 07:06:25,388 - DEBUG - Services list from nova: [, , ] 2025-06-16 07:06:26,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3455-1) 2025-06-16 07:06:27,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3455-1) 2025-06-16 07:06:27,931 - INFO - Setting gateway for router 88fbc94d-125c-498a-b7e8-108d16644d75 to network 32d5d0a3-e1c9-42df-83fe-0830bcff160d 2025-06-16 07:06:28,025 - INFO - Adding interface with subnet_id 42886391-6240-4acf-a57f-719e1cfaf499, port_id None to router 88fbc94d-125c-498a-b7e8-108d16644d75 2025-06-16 07:06:28,444 - INFO - Waiting for VM ctest-TestRoutersBasic-43252266-55267923 to be up.. 2025-06-16 07:06:28,672 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-16 07:06:33,761 - DEBUG - VM is in ACTIVE state now 2025-06-16 07:06:33,761 - INFO - VM name : ctest-TestRoutersBasic-43252266-55267923 2025-06-16 07:06:33,852 - DEBUG - VM ctest-TestRoutersBasic-43252266-55267923 ID is c1c8f235-7b54-45c6-a50e-ec47fa931e21 2025-06-16 07:06:33,873 - DEBUG - VM ctest-TestRoutersBasic-43252266-55267923 launched on Node cn-jenkins-deploy-platform-ansible-os-3455-1 2025-06-16 07:06:33,962 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c1c8f235-7b54-45c6-a50e-ec47fa931e21 2025-06-16 07:06:34,308 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c1c8f235-7b54-45c6-a50e-ec47fa931e21 2025-06-16 07:06:34,347 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f1618574-5553-4eaa-bcb2-85e80d8e202e 2025-06-16 07:06:37,634 - 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 1026ms') 2025-06-16 07:06:37,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43252266-55267923 failed! 2025-06-16 07:06:37,691 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43252266:ctest-vn-95167949 is 59.214.88.65 and allocation pool is NOT set 2025-06-16 07:06:39,749 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.350 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.350/2.539/4.728/2.189 ms') 2025-06-16 07:06:39,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43252266-55267923 passed 2025-06-16 07:06:39,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-16 07:06:39,903 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43252266-55267923, IP 59.214.88.67, Port 22 2025-06-16 07:06:40,059 - DEBUG - VM ctest-TestRoutersBasic-43252266-55267923 is ready for SSH connections 2025-06-16 07:06:40,059 - INFO - Waiting for VM ctest-TestRoutersBasic-43252266-66627768 to be up.. 2025-06-16 07:06:40,150 - DEBUG - VM is in ACTIVE state now 2025-06-16 07:06:40,150 - INFO - VM name : ctest-TestRoutersBasic-43252266-66627768 2025-06-16 07:06:40,236 - DEBUG - VM ctest-TestRoutersBasic-43252266-66627768 ID is df98aa22-3d6f-4ec4-a6c4-d7d060f6dff5 2025-06-16 07:06:40,236 - DEBUG - VM ctest-TestRoutersBasic-43252266-66627768 launched on Node cn-jenkins-deploy-platform-ansible-os-3455-1 2025-06-16 07:06:40,322 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/df98aa22-3d6f-4ec4-a6c4-d7d060f6dff5 2025-06-16 07:06:40,332 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5d6ba7d1-c812-403c-b0c6-e54cc85a3bec 2025-06-16 07:06:41,615 - 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=8.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.86 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 = 3.855/5.999/8.144/2.144 ms') 2025-06-16 07:06:41,615 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43252266-66627768 passed 2025-06-16 07:06:41,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-16 07:06:41,771 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43252266-66627768, IP 201.75.139.67, Port 22 2025-06-16 07:06:41,927 - DEBUG - VM ctest-TestRoutersBasic-43252266-66627768 is ready for SSH connections 2025-06-16 07:06:41,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-16 07:06:41,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.75.139.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-16 07:06:41,927 - DEBUG - ping -s 56 -c 3 -W 1 201.75.139.67 2025-06-16 07:06:45,723 - DEBUG - PING 201.75.139.67 (201.75.139.67): 56 data bytes 64 bytes from 201.75.139.67: seq=0 ttl=62 time=7.282 ms 64 bytes from 201.75.139.67: seq=1 ttl=62 time=1.011 ms 64 bytes from 201.75.139.67: seq=2 ttl=62 time=1.105 ms --- 201.75.139.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.011/3.132/7.282 ms 2025-06-16 07:06:45,724 - INFO - Ping to IP 201.75.139.67 from VM ctest-TestRoutersBasic-43252266-55267923 passed 2025-06-16 07:06:45,724 - INFO - Deleting interface with subnet_id 42886391-6240-4acf-a57f-719e1cfaf499, port_id None from router 88fbc94d-125c-498a-b7e8-108d16644d75 2025-06-16 07:06:45,948 - INFO - Deleting VM ctest-TestRoutersBasic-43252266-66627768 2025-06-16 07:06:46,019 - INFO - Deleting VM ctest-TestRoutersBasic-43252266-55267923 2025-06-16 07:06:46,101 - INFO - Deleting VN ctest-ext_vn-14769370 2025-06-16 07:06:46,170 - DEBUG - VN 32d5d0a3-e1c9-42df-83fe-0830bcff160d still in use: Unable to complete operation on network 32d5d0a3-e1c9-42df-83fe-0830bcff160d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e0a413b-5192-40d2-aeed-accfa2c5f5c1'] 2025-06-16 07:06:46,170 - WARNING - Deleting VN ctest-ext_vn-14769370 failed..Will retry 2025-06-16 07:06:48,309 - DEBUG - Response for deleting network () 2025-06-16 07:06:48,309 - INFO - Deleting VN ctest-vn-95167949 2025-06-16 07:06:48,443 - DEBUG - Response for deleting network () 2025-06-16 07:06:48,705 - DEBUG - No XMPP flaps were noticed during the test
2025-06-16 07:06:48,705 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-16 07:06:48,705 - INFO - -------------------------------------------------------------------------------- 2025-06-16 07:06:49,418 - INFO - Deleted project: ctest-TestRoutersBasic-43252266, ID : 1ef1dee2-3f40-465a-8d8e-9437b937e0c4