2025-05-08 17:02:07,792 - INFO - Domain Default found not creating
2025-05-08 17:02:07,940 - INFO - Project ctest-TestRoutersBasic-69365926 not found, creating it
2025-05-08 17:02:08,401 - INFO - Created Project:ctest-TestRoutersBasic-69365926, ID : af123f3a-8529-4877-9c95-5533ec4fc099
2025-05-08 17:02:09,919 - INFO - ================================================================================
2025-05-08 17:02:09,920 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-08 17:02:09,920 - 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-05-08 17:02:10,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-05-08 17:02:10,177 - INFO - Initial checks done. Running the testcase now
2025-05-08 17:02:10,177 - INFO -
2025-05-08 17:02:10,956 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69365926
2025-05-08 17:02:11,051 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69365926
2025-05-08 17:02:11,375 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69365926', 'default']}
2025-05-08 17:02:11,675 - DEBUG - Response for create_network : {'network': {'id': '9f82069d-382e-4c74-9e87-4344b05b893a', 'name': 'ctest-vn-52763528', 'tenant_id': 'af123f3a852948779c955533ec4fc099', 'project_id': 'af123f3a852948779c955533ec4fc099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69365926', 'ctest-vn-52763528'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 17:02:11,832 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cea27d56-4ed3-4562-a77d-a7dc668e6e00', 'name': '', 'tenant_id': 'af123f3a852948779c955533ec4fc099', 'network_id': '9f82069d-382e-4c74-9e87-4344b05b893a', 'ip_version': 4, 'cidr': '86.97.106.128/26', 'allocation_pools': [{'start': '86.97.106.130', 'end': '86.97.106.190'}], 'gateway_ip': '86.97.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.97.106.130', 'tags': [], 'project_id': 'af123f3a852948779c955533ec4fc099'}}
2025-05-08 17:02:11,851 - INFO - Created VN ctest-vn-52763528
2025-05-08 17:02:11,903 - DEBUG - VN ctest-vn-52763528 UUID is 9f82069d-382e-4c74-9e87-4344b05b893a
2025-05-08 17:02:12,239 - DEBUG - Response for create_network : {'network': {'id': '955db631-6fa4-4c04-8992-ba121983207d', 'name': 'ctest-ext_vn-93852354', 'tenant_id': 'af123f3a852948779c955533ec4fc099', 'project_id': 'af123f3a852948779c955533ec4fc099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69365926', 'ctest-ext_vn-93852354'], 'port_security_enabled': True, 'description': ''}}
2025-05-08 17:02:12,397 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c0ad68b-b894-4ac8-9518-250a6eebfcac', 'name': '', 'tenant_id': 'af123f3a852948779c955533ec4fc099', 'network_id': '955db631-6fa4-4c04-8992-ba121983207d', 'ip_version': 4, 'cidr': '62.40.24.128/26', 'allocation_pools': [{'start': '62.40.24.130', 'end': '62.40.24.190'}], 'gateway_ip': '62.40.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.40.24.130', 'tags': [], 'project_id': 'af123f3a852948779c955533ec4fc099'}}
2025-05-08 17:02:12,415 - INFO - Created VN ctest-ext_vn-93852354
2025-05-08 17:02:12,467 - DEBUG - VN ctest-ext_vn-93852354 UUID is 955db631-6fa4-4c04-8992-ba121983207d
2025-05-08 17:02:12,669 - DEBUG - Services list from nova: [, , ]
2025-05-08 17:02:13,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3290-1)
2025-05-08 17:02:15,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3290-1)
2025-05-08 17:02:15,158 - INFO - Setting gateway for router 4d342c11-bc0c-4697-a6b7-3908f3207e46 to network 955db631-6fa4-4c04-8992-ba121983207d
2025-05-08 17:02:15,224 - INFO - Adding interface with subnet_id cea27d56-4ed3-4562-a77d-a7dc668e6e00, port_id None to router 4d342c11-bc0c-4697-a6b7-3908f3207e46
2025-05-08 17:02:15,688 - INFO - Waiting for VM ctest-TestRoutersBasic-69365926-34416907 to be up..
2025-05-08 17:02:15,883 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-08 17:02:20,976 - DEBUG - VM is in ACTIVE state now
2025-05-08 17:02:20,976 - INFO - VM name : ctest-TestRoutersBasic-69365926-34416907
2025-05-08 17:02:21,067 - DEBUG - VM ctest-TestRoutersBasic-69365926-34416907 ID is 37f915f3-1613-4c08-bf5e-7ff7a27fd78b
2025-05-08 17:02:21,087 - DEBUG - VM ctest-TestRoutersBasic-69365926-34416907 launched on Node cn-jenkins-deploy-platform-ansible-os-3290-1
2025-05-08 17:02:21,177 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/37f915f3-1613-4c08-bf5e-7ff7a27fd78b
2025-05-08 17:02:21,515 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/37f915f3-1613-4c08-bf5e-7ff7a27fd78b
2025-05-08 17:02:21,552 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/883e3285-1207-4e28-b15a-9e82fa3cf43b
2025-05-08 17:02:24,826 - 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 1015ms')
2025-05-08 17:02:24,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69365926-34416907 failed!
2025-05-08 17:02:24,883 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69365926:ctest-vn-52763528 is 86.97.106.129 and allocation pool is NOT set
2025-05-08 17:02:26,948 - 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=3.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.545 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.545/1.773/3.001/1.228 ms')
2025-05-08 17:02:26,948 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69365926-34416907 passed
2025-05-08 17:02:27,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 17:02:27,103 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69365926-34416907, IP 86.97.106.131, Port 22
2025-05-08 17:02:27,258 - DEBUG - VM ctest-TestRoutersBasic-69365926-34416907 is ready for SSH connections
2025-05-08 17:02:27,259 - INFO - Waiting for VM ctest-TestRoutersBasic-69365926-50584318 to be up..
2025-05-08 17:02:27,351 - DEBUG - VM is in ACTIVE state now
2025-05-08 17:02:27,351 - INFO - VM name : ctest-TestRoutersBasic-69365926-50584318
2025-05-08 17:02:27,433 - DEBUG - VM ctest-TestRoutersBasic-69365926-50584318 ID is 3dced84a-b20a-40e6-8246-fc793eada077
2025-05-08 17:02:27,433 - DEBUG - VM ctest-TestRoutersBasic-69365926-50584318 launched on Node cn-jenkins-deploy-platform-ansible-os-3290-1
2025-05-08 17:02:27,528 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3dced84a-b20a-40e6-8246-fc793eada077
2025-05-08 17:02:27,538 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/59af38d6-b33c-4426-beab-ecffdbd9019d
2025-05-08 17:02:28,783 - 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=3.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.724 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.724/1.954/3.184/1.230 ms')
2025-05-08 17:02:28,783 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69365926-50584318 passed
2025-05-08 17:02:28,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 17:02:28,939 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69365926-50584318, IP 62.40.24.131, Port 22
2025-05-08 17:02:29,103 - DEBUG - VM ctest-TestRoutersBasic-69365926-50584318 is ready for SSH connections
2025-05-08 17:02:29,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-08 17:02:29,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.40.24.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-05-08 17:02:29,103 - DEBUG - ping -s 56 -c 3 -W 1 62.40.24.131
2025-05-08 17:02:33,176 - DEBUG - PING 62.40.24.131 (62.40.24.131): 56 data bytes
64 bytes from 62.40.24.131: seq=0 ttl=62 time=7.860 ms
64 bytes from 62.40.24.131: seq=1 ttl=62 time=0.869 ms
64 bytes from 62.40.24.131: seq=2 ttl=62 time=0.918 ms
--- 62.40.24.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.869/3.215/7.860 ms
2025-05-08 17:02:33,176 - INFO - Ping to IP 62.40.24.131 from VM ctest-TestRoutersBasic-69365926-34416907 passed
2025-05-08 17:02:33,176 - INFO - Deleting interface with subnet_id cea27d56-4ed3-4562-a77d-a7dc668e6e00, port_id None from router 4d342c11-bc0c-4697-a6b7-3908f3207e46
2025-05-08 17:02:33,401 - INFO - Deleting VM ctest-TestRoutersBasic-69365926-50584318
2025-05-08 17:02:33,473 - INFO - Deleting VM ctest-TestRoutersBasic-69365926-34416907
2025-05-08 17:02:33,575 - INFO - Deleting VN ctest-ext_vn-93852354
2025-05-08 17:02:33,657 - DEBUG - VN 955db631-6fa4-4c04-8992-ba121983207d still in use: Unable to complete operation on network 955db631-6fa4-4c04-8992-ba121983207d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f54d0c8c-d313-403d-afa0-62971f81662a']
2025-05-08 17:02:33,657 - WARNING - Deleting VN ctest-ext_vn-93852354 failed..Will retry
2025-05-08 17:02:35,761 - DEBUG - Response for deleting network ()
2025-05-08 17:02:35,761 - INFO - Deleting VN ctest-vn-52763528
2025-05-08 17:02:35,886 - DEBUG - Response for deleting network ()
2025-05-08 17:02:36,149 - DEBUG - No XMPP flaps were noticed during the test
2025-05-08 17:02:36,149 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-05-08 17:02:36,149 - INFO - --------------------------------------------------------------------------------
2025-05-08 17:02:36,867 - INFO - Deleted project: ctest-TestRoutersBasic-69365926, ID : af123f3a-8529-4877-9c95-5533ec4fc099