2025-09-05 13:39:02,708 - INFO - Domain Default found not creating
2025-09-05 13:39:02,864 - INFO - Project ctest-TestRoutersBasic-16312649 not found, creating it
2025-09-05 13:39:03,312 - INFO - Created Project:ctest-TestRoutersBasic-16312649, ID : 8d9a90f4-bcdb-47fc-aca5-e36361e91d8c
2025-09-05 13:39:05,330 - INFO - ================================================================================
2025-09-05 13:39:05,330 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-05 13:39:05,330 - 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-09-05 13:39:05,586 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-05 13:39:05,586 - INFO - Initial checks done. Running the testcase now
2025-09-05 13:39:05,586 - INFO -
2025-09-05 13:39:06,247 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16312649
2025-09-05 13:39:06,344 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16312649
2025-09-05 13:39:06,660 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16312649', 'default']}
2025-09-05 13:39:06,928 - DEBUG - Response for create_network : {'network': {'id': '40278f98-68b4-4d9f-b433-72c35f198efe', 'name': 'ctest-vn-55041694', 'tenant_id': '8d9a90f4bcdb47fcaca5e36361e91d8c', 'project_id': '8d9a90f4bcdb47fcaca5e36361e91d8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16312649', 'ctest-vn-55041694'], 'port_security_enabled': True, 'description': ''}}
2025-09-05 13:39:07,096 - DEBUG - Response for create_subnet : {'subnet': {'id': '75e7af76-50aa-4720-a475-28e26398ab35', 'name': '', 'tenant_id': '8d9a90f4bcdb47fcaca5e36361e91d8c', 'network_id': '40278f98-68b4-4d9f-b433-72c35f198efe', 'ip_version': 4, 'cidr': '147.177.206.192/26', 'allocation_pools': [{'start': '147.177.206.194', 'end': '147.177.206.254'}], 'gateway_ip': '147.177.206.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.177.206.194', 'tags': [], 'project_id': '8d9a90f4bcdb47fcaca5e36361e91d8c'}}
2025-09-05 13:39:07,115 - INFO - Created VN ctest-vn-55041694
2025-09-05 13:39:07,168 - DEBUG - VN ctest-vn-55041694 UUID is 40278f98-68b4-4d9f-b433-72c35f198efe
2025-09-05 13:39:07,517 - DEBUG - Response for create_network : {'network': {'id': '49508c49-04f7-4131-bc2d-8235c9471cec', 'name': 'ctest-ext_vn-63325429', 'tenant_id': '8d9a90f4bcdb47fcaca5e36361e91d8c', 'project_id': '8d9a90f4bcdb47fcaca5e36361e91d8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16312649', 'ctest-ext_vn-63325429'], 'port_security_enabled': True, 'description': ''}}
2025-09-05 13:39:07,697 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecca4a19-b72c-4e62-a71d-cf81cb824399', 'name': '', 'tenant_id': '8d9a90f4bcdb47fcaca5e36361e91d8c', 'network_id': '49508c49-04f7-4131-bc2d-8235c9471cec', 'ip_version': 4, 'cidr': '44.80.247.192/26', 'allocation_pools': [{'start': '44.80.247.194', 'end': '44.80.247.254'}], 'gateway_ip': '44.80.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.80.247.194', 'tags': [], 'project_id': '8d9a90f4bcdb47fcaca5e36361e91d8c'}}
2025-09-05 13:39:07,715 - INFO - Created VN ctest-ext_vn-63325429
2025-09-05 13:39:07,768 - DEBUG - VN ctest-ext_vn-63325429 UUID is 49508c49-04f7-4131-bc2d-8235c9471cec
2025-09-05 13:39:07,970 - DEBUG - Services list from nova: [, , ]
2025-09-05 13:39:08,948 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4025-1)
2025-09-05 13:39:10,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4025-1)
2025-09-05 13:39:10,137 - INFO - Setting gateway for router 3ec2961d-b4f2-4df5-94ca-42fa08291b20 to network 49508c49-04f7-4131-bc2d-8235c9471cec
2025-09-05 13:39:10,204 - INFO - Adding interface with subnet_id 75e7af76-50aa-4720-a475-28e26398ab35, port_id None to router 3ec2961d-b4f2-4df5-94ca-42fa08291b20
2025-09-05 13:39:10,488 - INFO - Waiting for VM ctest-TestRoutersBasic-16312649-70514312 to be up..
2025-09-05 13:39:10,634 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-05 13:39:15,708 - DEBUG - VM is in ACTIVE state now
2025-09-05 13:39:15,708 - INFO - VM name : ctest-TestRoutersBasic-16312649-70514312
2025-09-05 13:39:15,820 - DEBUG - VM ctest-TestRoutersBasic-16312649-70514312 ID is 604cc927-d7f8-4c8e-ac3a-ad816626a649
2025-09-05 13:39:15,848 - DEBUG - VM ctest-TestRoutersBasic-16312649-70514312 launched on Node cn-jenkins-deploy-platform-ansible-os-4025-1
2025-09-05 13:39:15,926 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/604cc927-d7f8-4c8e-ac3a-ad816626a649
2025-09-05 13:39:16,220 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/604cc927-d7f8-4c8e-ac3a-ad816626a649
2025-09-05 13:39:16,249 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fe6aef51-581f-4465-8679-286ae22149af
2025-09-05 13:39:19,493 - 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 1007ms')
2025-09-05 13:39:19,493 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16312649-70514312 failed!
2025-09-05 13:39:19,548 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16312649:ctest-vn-55041694 is 147.177.206.193 and allocation pool is NOT set
2025-09-05 13:39:21,606 - 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=2.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 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.391/1.582/2.773/1.191 ms')
2025-09-05 13:39:21,606 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16312649-70514312 passed
2025-09-05 13:39:21,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 13:39:21,752 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16312649-70514312, IP 147.177.206.195, Port 22
2025-09-05 13:39:21,907 - DEBUG - VM ctest-TestRoutersBasic-16312649-70514312 is ready for SSH connections
2025-09-05 13:39:21,908 - INFO - Waiting for VM ctest-TestRoutersBasic-16312649-63586114 to be up..
2025-09-05 13:39:21,975 - DEBUG - VM is in ACTIVE state now
2025-09-05 13:39:21,975 - INFO - VM name : ctest-TestRoutersBasic-16312649-63586114
2025-09-05 13:39:22,043 - DEBUG - VM ctest-TestRoutersBasic-16312649-63586114 ID is c79e8daa-0c76-406a-8845-a7e2ca4dfef1
2025-09-05 13:39:22,043 - DEBUG - VM ctest-TestRoutersBasic-16312649-63586114 launched on Node cn-jenkins-deploy-platform-ansible-os-4025-1
2025-09-05 13:39:22,108 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c79e8daa-0c76-406a-8845-a7e2ca4dfef1
2025-09-05 13:39:22,116 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b2ea809f-bb19-408a-88e4-ce536fbe9a7f
2025-09-05 13:39:23,348 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.626/2.816/1.190 ms')
2025-09-05 13:39:23,348 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16312649-63586114 passed
2025-09-05 13:39:23,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 13:39:23,496 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16312649-63586114, IP 44.80.247.195, Port 22
2025-09-05 13:39:23,652 - DEBUG - VM ctest-TestRoutersBasic-16312649-63586114 is ready for SSH connections
2025-09-05 13:39:23,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-05 13:39:23,652 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.80.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-05 13:39:23,652 - DEBUG - ping -s 56 -c 3 -W 1 44.80.247.195
2025-09-05 13:39:27,638 - DEBUG - PING 44.80.247.195 (44.80.247.195): 56 data bytes
64 bytes from 44.80.247.195: seq=0 ttl=62 time=5.987 ms
64 bytes from 44.80.247.195: seq=1 ttl=62 time=0.894 ms
64 bytes from 44.80.247.195: seq=2 ttl=62 time=1.125 ms
--- 44.80.247.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.894/2.668/5.987 ms
2025-09-05 13:39:27,638 - INFO - Ping to IP 44.80.247.195 from VM ctest-TestRoutersBasic-16312649-70514312 passed
2025-09-05 13:39:27,638 - INFO - Deleting interface with subnet_id 75e7af76-50aa-4720-a475-28e26398ab35, port_id None from router 3ec2961d-b4f2-4df5-94ca-42fa08291b20
2025-09-05 13:39:27,809 - INFO - Deleting VM ctest-TestRoutersBasic-16312649-63586114
2025-09-05 13:39:27,873 - INFO - Deleting VM ctest-TestRoutersBasic-16312649-70514312
2025-09-05 13:39:27,943 - INFO - Deleting VN ctest-ext_vn-63325429
2025-09-05 13:39:28,004 - DEBUG - VN 49508c49-04f7-4131-bc2d-8235c9471cec still in use: Unable to complete operation on network 49508c49-04f7-4131-bc2d-8235c9471cec. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2086e9df-889d-43f5-935f-a17d4579773c']
2025-09-05 13:39:28,004 - WARNING - Deleting VN ctest-ext_vn-63325429 failed..Will retry
2025-09-05 13:39:30,115 - DEBUG - Response for deleting network ()
2025-09-05 13:39:30,115 - INFO - Deleting VN ctest-vn-55041694
2025-09-05 13:39:30,220 - DEBUG - Response for deleting network ()
2025-09-05 13:39:30,476 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 13:39:30,476 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-05 13:39:30,476 - INFO - --------------------------------------------------------------------------------
2025-09-05 13:39:31,127 - INFO - Deleted project: ctest-TestRoutersBasic-16312649, ID : 8d9a90f4-bcdb-47fc-aca5-e36361e91d8c