2025-06-10 19:45:18,883 - INFO - Domain Default found not creating
2025-06-10 19:45:19,024 - INFO - Project ctest-TestRoutersBasic-10470872 not found, creating it
2025-06-10 19:45:19,475 - INFO - Created Project:ctest-TestRoutersBasic-10470872, ID : 12655442-979b-4ba8-9a7d-9ee0435e2723
2025-06-10 19:45:21,250 - INFO - ================================================================================
2025-06-10 19:45:21,251 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-10 19:45:21,251 - 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-10 19:45:21,516 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-06-10 19:45:21,516 - INFO - Initial checks done. Running the testcase now
2025-06-10 19:45:21,517 - INFO -
2025-06-10 19:45:22,237 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10470872
2025-06-10 19:45:22,337 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10470872
2025-06-10 19:45:22,661 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10470872', 'default']}
2025-06-10 19:45:22,942 - DEBUG - Response for create_network : {'network': {'id': '99636d28-4882-4698-8c9c-bdbf7e2ac77d', 'name': 'ctest-vn-20851537', 'tenant_id': '12655442979b4ba89a7d9ee0435e2723', 'project_id': '12655442979b4ba89a7d9ee0435e2723', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10470872', 'ctest-vn-20851537'], 'port_security_enabled': True, 'description': ''}}
2025-06-10 19:45:23,151 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c95dac89-c234-4a0b-b8d7-8bf3e9ba7ac8', 'name': '', 'tenant_id': '12655442979b4ba89a7d9ee0435e2723', 'network_id': '99636d28-4882-4698-8c9c-bdbf7e2ac77d', 'ip_version': 4, 'cidr': '44.122.89.64/26', 'allocation_pools': [{'start': '44.122.89.66', 'end': '44.122.89.126'}], 'gateway_ip': '44.122.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.122.89.66', 'tags': [], 'project_id': '12655442979b4ba89a7d9ee0435e2723'}}
2025-06-10 19:45:23,169 - INFO - Created VN ctest-vn-20851537
2025-06-10 19:45:23,221 - DEBUG - VN ctest-vn-20851537 UUID is 99636d28-4882-4698-8c9c-bdbf7e2ac77d
2025-06-10 19:45:23,595 - DEBUG - Response for create_network : {'network': {'id': 'dd29073d-4c01-4402-bc31-c42fea165d13', 'name': 'ctest-ext_vn-12448441', 'tenant_id': '12655442979b4ba89a7d9ee0435e2723', 'project_id': '12655442979b4ba89a7d9ee0435e2723', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10470872', 'ctest-ext_vn-12448441'], 'port_security_enabled': True, 'description': ''}}
2025-06-10 19:45:23,810 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae314339-226d-435b-87fe-5a6bb04a5e8b', 'name': '', 'tenant_id': '12655442979b4ba89a7d9ee0435e2723', 'network_id': 'dd29073d-4c01-4402-bc31-c42fea165d13', 'ip_version': 4, 'cidr': '190.254.235.128/26', 'allocation_pools': [{'start': '190.254.235.130', 'end': '190.254.235.190'}], 'gateway_ip': '190.254.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.254.235.130', 'tags': [], 'project_id': '12655442979b4ba89a7d9ee0435e2723'}}
2025-06-10 19:45:23,827 - INFO - Created VN ctest-ext_vn-12448441
2025-06-10 19:45:23,881 - DEBUG - VN ctest-ext_vn-12448441 UUID is dd29073d-4c01-4402-bc31-c42fea165d13
2025-06-10 19:45:24,061 - DEBUG - Services list from nova: [, , ]
2025-06-10 19:45:25,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3437-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3437-1)
2025-06-10 19:45:26,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3437-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3437-1)
2025-06-10 19:45:26,369 - INFO - Setting gateway for router c285f8e8-abfd-456b-8a10-66273dcbbd62 to network dd29073d-4c01-4402-bc31-c42fea165d13
2025-06-10 19:45:26,428 - INFO - Adding interface with subnet_id c95dac89-c234-4a0b-b8d7-8bf3e9ba7ac8, port_id None to router c285f8e8-abfd-456b-8a10-66273dcbbd62
2025-06-10 19:45:26,736 - INFO - Waiting for VM ctest-TestRoutersBasic-10470872-47541225 to be up..
2025-06-10 19:45:26,853 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-10 19:45:31,928 - DEBUG - VM is in ACTIVE state now
2025-06-10 19:45:31,928 - INFO - VM name : ctest-TestRoutersBasic-10470872-47541225
2025-06-10 19:45:32,001 - DEBUG - VM ctest-TestRoutersBasic-10470872-47541225 ID is cdfa157e-5156-4034-a7fe-a3fa3e7ece59
2025-06-10 19:45:32,019 - DEBUG - VM ctest-TestRoutersBasic-10470872-47541225 launched on Node cn-jenkins-deploy-platform-ansible-os-3437-1
2025-06-10 19:45:32,116 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cdfa157e-5156-4034-a7fe-a3fa3e7ece59
2025-06-10 19:45:32,413 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cdfa157e-5156-4034-a7fe-a3fa3e7ece59
2025-06-10 19:45:32,445 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7c25b787-61d9-4e46-af7d-dfa14a0c24e6
2025-06-10 19:45:35,709 - 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 1011ms')
2025-06-10 19:45:35,709 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10470872-47541225 failed!
2025-06-10 19:45:35,765 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10470872:ctest-vn-20851537 is 44.122.89.65 and allocation pool is NOT set
2025-06-10 19:45:37,829 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.643 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.643/2.124/3.606/1.481 ms')
2025-06-10 19:45:37,829 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10470872-47541225 passed
2025-06-10 19:45:37,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 19:45:37,998 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10470872-47541225, IP 44.122.89.67, Port 22
2025-06-10 19:45:38,164 - DEBUG - VM ctest-TestRoutersBasic-10470872-47541225 is ready for SSH connections
2025-06-10 19:45:38,164 - INFO - Waiting for VM ctest-TestRoutersBasic-10470872-05374585 to be up..
2025-06-10 19:45:38,268 - DEBUG - VM is in ACTIVE state now
2025-06-10 19:45:38,268 - INFO - VM name : ctest-TestRoutersBasic-10470872-05374585
2025-06-10 19:45:38,370 - DEBUG - VM ctest-TestRoutersBasic-10470872-05374585 ID is 19a663fb-cb14-4aff-bbf2-6d7aa69a5028
2025-06-10 19:45:38,370 - DEBUG - VM ctest-TestRoutersBasic-10470872-05374585 launched on Node cn-jenkins-deploy-platform-ansible-os-3437-1
2025-06-10 19:45:38,485 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/19a663fb-cb14-4aff-bbf2-6d7aa69a5028
2025-06-10 19:45:38,499 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/eb2324c0-a912-4761-bce4-ac7a6d0ee68b
2025-06-10 19:45:39,760 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.776/3.138/1.361 ms')
2025-06-10 19:45:39,760 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-10470872-05374585 passed
2025-06-10 19:45:39,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 19:45:39,922 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10470872-05374585, IP 190.254.235.131, Port 22
2025-06-10 19:45:40,085 - DEBUG - VM ctest-TestRoutersBasic-10470872-05374585 is ready for SSH connections
2025-06-10 19:45:40,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 19:45:40,085 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.254.235.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-06-10 19:45:40,086 - DEBUG - ping -s 56 -c 3 -W 1 190.254.235.131
2025-06-10 19:45:44,147 - DEBUG - PING 190.254.235.131 (190.254.235.131): 56 data bytes
64 bytes from 190.254.235.131: seq=0 ttl=62 time=6.672 ms
64 bytes from 190.254.235.131: seq=1 ttl=62 time=0.740 ms
64 bytes from 190.254.235.131: seq=2 ttl=62 time=0.813 ms
--- 190.254.235.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.740/2.741/6.672 ms
2025-06-10 19:45:44,147 - INFO - Ping to IP 190.254.235.131 from VM ctest-TestRoutersBasic-10470872-47541225 passed
2025-06-10 19:45:44,148 - INFO - Deleting interface with subnet_id c95dac89-c234-4a0b-b8d7-8bf3e9ba7ac8, port_id None from router c285f8e8-abfd-456b-8a10-66273dcbbd62
2025-06-10 19:45:44,355 - INFO - Deleting VM ctest-TestRoutersBasic-10470872-05374585
2025-06-10 19:45:44,432 - INFO - Deleting VM ctest-TestRoutersBasic-10470872-47541225
2025-06-10 19:45:44,503 - INFO - Deleting VN ctest-ext_vn-12448441
2025-06-10 19:45:44,566 - DEBUG - VN dd29073d-4c01-4402-bc31-c42fea165d13 still in use: Unable to complete operation on network dd29073d-4c01-4402-bc31-c42fea165d13. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3d917dfe-effa-48fd-8a6c-9b8f0dbdc663']
2025-06-10 19:45:44,566 - WARNING - Deleting VN ctest-ext_vn-12448441 failed..Will retry
2025-06-10 19:45:46,695 - DEBUG - Response for deleting network ()
2025-06-10 19:45:46,695 - INFO - Deleting VN ctest-vn-20851537
2025-06-10 19:45:46,811 - DEBUG - Response for deleting network ()
2025-06-10 19:45:47,071 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 19:45:47,072 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-10 19:45:47,072 - INFO - --------------------------------------------------------------------------------
2025-06-10 19:45:47,775 - INFO - Deleted project: ctest-TestRoutersBasic-10470872, ID : 12655442-979b-4ba8-9a7d-9ee0435e2723