2025-08-14 14:36:42,973 - INFO - Domain Default found not creating
2025-08-14 14:36:43,109 - INFO - Project ctest-TestRoutersBasic-68700572 not found, creating it
2025-08-14 14:36:43,562 - INFO - Created Project:ctest-TestRoutersBasic-68700572, ID : 86e47833-29bf-442b-928f-81fc654233b1
2025-08-14 14:36:45,045 - INFO - ================================================================================
2025-08-14 14:36:45,045 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-14 14:36:45,045 - 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-08-14 14:36:45,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-08-14 14:36:45,300 - INFO - Initial checks done. Running the testcase now
2025-08-14 14:36:45,300 - INFO -
2025-08-14 14:36:46,097 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68700572
2025-08-14 14:36:46,194 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68700572
2025-08-14 14:36:46,513 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68700572', 'default']}
2025-08-14 14:36:46,806 - DEBUG - Response for create_network : {'network': {'id': '41752973-a268-4a2f-8f51-479644ba0787', 'name': 'ctest-vn-24217170', 'tenant_id': '86e4783329bf442b928f81fc654233b1', 'project_id': '86e4783329bf442b928f81fc654233b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68700572', 'ctest-vn-24217170'], 'port_security_enabled': True, 'description': ''}}
2025-08-14 14:36:46,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e465424-b8e4-4f01-b2a9-6fedc7b8f3fb', 'name': '', 'tenant_id': '86e4783329bf442b928f81fc654233b1', 'network_id': '41752973-a268-4a2f-8f51-479644ba0787', 'ip_version': 4, 'cidr': '123.207.23.128/26', 'allocation_pools': [{'start': '123.207.23.130', 'end': '123.207.23.190'}], 'gateway_ip': '123.207.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.207.23.130', 'tags': [], 'project_id': '86e4783329bf442b928f81fc654233b1'}}
2025-08-14 14:36:46,991 - INFO - Created VN ctest-vn-24217170
2025-08-14 14:36:47,046 - DEBUG - VN ctest-vn-24217170 UUID is 41752973-a268-4a2f-8f51-479644ba0787
2025-08-14 14:36:47,383 - DEBUG - Response for create_network : {'network': {'id': '99f10c55-4232-4d49-b7a8-d2ca235a6239', 'name': 'ctest-ext_vn-70476519', 'tenant_id': '86e4783329bf442b928f81fc654233b1', 'project_id': '86e4783329bf442b928f81fc654233b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68700572', 'ctest-ext_vn-70476519'], 'port_security_enabled': True, 'description': ''}}
2025-08-14 14:36:47,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '63692a83-6485-4525-8794-b7de736d39ab', 'name': '', 'tenant_id': '86e4783329bf442b928f81fc654233b1', 'network_id': '99f10c55-4232-4d49-b7a8-d2ca235a6239', 'ip_version': 4, 'cidr': '81.194.79.64/26', 'allocation_pools': [{'start': '81.194.79.66', 'end': '81.194.79.126'}], 'gateway_ip': '81.194.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.194.79.66', 'tags': [], 'project_id': '86e4783329bf442b928f81fc654233b1'}}
2025-08-14 14:36:47,624 - INFO - Created VN ctest-ext_vn-70476519
2025-08-14 14:36:47,677 - DEBUG - VN ctest-ext_vn-70476519 UUID is 99f10c55-4232-4d49-b7a8-d2ca235a6239
2025-08-14 14:36:47,873 - DEBUG - Services list from nova: [, , ]
2025-08-14 14:36:48,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3857-1)
2025-08-14 14:36:50,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3857-1)
2025-08-14 14:36:50,179 - INFO - Setting gateway for router 70131506-f805-43a1-a44e-58612baaac83 to network 99f10c55-4232-4d49-b7a8-d2ca235a6239
2025-08-14 14:36:50,255 - INFO - Adding interface with subnet_id 0e465424-b8e4-4f01-b2a9-6fedc7b8f3fb, port_id None to router 70131506-f805-43a1-a44e-58612baaac83
2025-08-14 14:36:50,526 - INFO - Waiting for VM ctest-TestRoutersBasic-68700572-35594424 to be up..
2025-08-14 14:36:50,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-14 14:36:55,756 - DEBUG - VM is in ACTIVE state now
2025-08-14 14:36:55,757 - INFO - VM name : ctest-TestRoutersBasic-68700572-35594424
2025-08-14 14:36:55,833 - DEBUG - VM ctest-TestRoutersBasic-68700572-35594424 ID is 7f192494-27fb-4718-807c-c7e866b79847
2025-08-14 14:36:55,851 - DEBUG - VM ctest-TestRoutersBasic-68700572-35594424 launched on Node cn-jenkins-deploy-platform-ansible-os-3857-1
2025-08-14 14:36:55,921 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7f192494-27fb-4718-807c-c7e866b79847
2025-08-14 14:36:56,252 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7f192494-27fb-4718-807c-c7e866b79847
2025-08-14 14:36:56,288 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a89a1cbf-4e5a-4589-88be-5a087c863b0b
2025-08-14 14:36:59,554 - 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 1027ms')
2025-08-14 14:36:59,554 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68700572-35594424 failed!
2025-08-14 14:36:59,610 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68700572:ctest-vn-24217170 is 123.207.23.129 and allocation pool is NOT set
2025-08-14 14:37:01,675 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 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.448/1.674/2.900/1.226 ms')
2025-08-14 14:37:01,676 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68700572-35594424 passed
2025-08-14 14:37:01,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 14:37:01,830 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68700572-35594424, IP 123.207.23.131, Port 22
2025-08-14 14:37:01,985 - DEBUG - VM ctest-TestRoutersBasic-68700572-35594424 is ready for SSH connections
2025-08-14 14:37:01,985 - INFO - Waiting for VM ctest-TestRoutersBasic-68700572-36100319 to be up..
2025-08-14 14:37:02,059 - DEBUG - VM is in ACTIVE state now
2025-08-14 14:37:02,059 - INFO - VM name : ctest-TestRoutersBasic-68700572-36100319
2025-08-14 14:37:02,124 - DEBUG - VM ctest-TestRoutersBasic-68700572-36100319 ID is 66d6522b-330f-40a6-a4eb-03604ccebfe1
2025-08-14 14:37:02,125 - DEBUG - VM ctest-TestRoutersBasic-68700572-36100319 launched on Node cn-jenkins-deploy-platform-ansible-os-3857-1
2025-08-14 14:37:02,190 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/66d6522b-330f-40a6-a4eb-03604ccebfe1
2025-08-14 14:37:02,198 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/84bdb092-e265-4294-857e-6ce3fcaebf9b
2025-08-14 14:37:03,432 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.311 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.311/1.559/2.808/1.248 ms')
2025-08-14 14:37:03,433 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68700572-36100319 passed
2025-08-14 14:37:03,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 14:37:03,582 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68700572-36100319, IP 81.194.79.67, Port 22
2025-08-14 14:37:03,741 - DEBUG - VM ctest-TestRoutersBasic-68700572-36100319 is ready for SSH connections
2025-08-14 14:37:03,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-14 14:37:03,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.194.79.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-14 14:37:03,741 - DEBUG - ping -s 56 -c 3 -W 1 81.194.79.67
2025-08-14 14:37:07,475 - DEBUG - PING 81.194.79.67 (81.194.79.67): 56 data bytes
64 bytes from 81.194.79.67: seq=0 ttl=62 time=7.034 ms
64 bytes from 81.194.79.67: seq=1 ttl=62 time=0.844 ms
64 bytes from 81.194.79.67: seq=2 ttl=62 time=0.898 ms
--- 81.194.79.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.844/2.925/7.034 ms
2025-08-14 14:37:07,476 - INFO - Ping to IP 81.194.79.67 from VM ctest-TestRoutersBasic-68700572-35594424 passed
2025-08-14 14:37:07,476 - INFO - Deleting interface with subnet_id 0e465424-b8e4-4f01-b2a9-6fedc7b8f3fb, port_id None from router 70131506-f805-43a1-a44e-58612baaac83
2025-08-14 14:37:07,662 - INFO - Deleting VM ctest-TestRoutersBasic-68700572-36100319
2025-08-14 14:37:07,731 - INFO - Deleting VM ctest-TestRoutersBasic-68700572-35594424
2025-08-14 14:37:07,806 - INFO - Deleting VN ctest-ext_vn-70476519
2025-08-14 14:37:07,881 - DEBUG - VN 99f10c55-4232-4d49-b7a8-d2ca235a6239 still in use: Unable to complete operation on network 99f10c55-4232-4d49-b7a8-d2ca235a6239. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-38ce6a8a-6e82-48b9-8000-0aa12243849d']
2025-08-14 14:37:07,881 - WARNING - Deleting VN ctest-ext_vn-70476519 failed..Will retry
2025-08-14 14:37:09,984 - DEBUG - Response for deleting network ()
2025-08-14 14:37:09,985 - INFO - Deleting VN ctest-vn-24217170
2025-08-14 14:37:10,086 - DEBUG - Response for deleting network ()
2025-08-14 14:37:10,340 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 14:37:10,340 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-14 14:37:10,340 - INFO - --------------------------------------------------------------------------------
2025-08-14 14:37:11,045 - INFO - Deleted project: ctest-TestRoutersBasic-68700572, ID : 86e47833-29bf-442b-928f-81fc654233b1