2025-05-01 02:08:18,710 - INFO - Domain Default found not creating
2025-05-01 02:08:18,861 - INFO - Project ctest-TestRoutersBasic-54283128 not found, creating it
2025-05-01 02:08:19,316 - INFO - Created Project:ctest-TestRoutersBasic-54283128, ID : 3bd144fd-2a67-4f75-854e-30ece0a28ff7
2025-05-01 02:08:20,908 - INFO - ================================================================================
2025-05-01 02:08:20,908 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-01 02:08:20,908 - 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-01 02:08:21,165 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.129': '0'}} with
2025-05-01 02:08:21,165 - INFO - Initial checks done. Running the testcase now
2025-05-01 02:08:21,165 - INFO -
2025-05-01 02:08:21,949 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54283128
2025-05-01 02:08:22,054 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54283128
2025-05-01 02:08:22,386 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54283128', 'default']}
2025-05-01 02:08:22,685 - DEBUG - Response for create_network : {'network': {'id': '79c2efce-0597-494b-8b17-59b4f88b07fa', 'name': 'ctest-vn-98329440', 'tenant_id': '3bd144fd2a674f75854e30ece0a28ff7', 'project_id': '3bd144fd2a674f75854e30ece0a28ff7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54283128', 'ctest-vn-98329440'], 'port_security_enabled': True, 'description': ''}}
2025-05-01 02:08:22,887 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a98fd5ee-a96e-40d8-a4c1-a7f4b22e96e4', 'name': '', 'tenant_id': '3bd144fd2a674f75854e30ece0a28ff7', 'network_id': '79c2efce-0597-494b-8b17-59b4f88b07fa', 'ip_version': 4, 'cidr': '206.161.68.0/26', 'allocation_pools': [{'start': '206.161.68.2', 'end': '206.161.68.62'}], 'gateway_ip': '206.161.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.161.68.2', 'tags': [], 'project_id': '3bd144fd2a674f75854e30ece0a28ff7'}}
2025-05-01 02:08:22,906 - INFO - Created VN ctest-vn-98329440
2025-05-01 02:08:22,959 - DEBUG - VN ctest-vn-98329440 UUID is 79c2efce-0597-494b-8b17-59b4f88b07fa
2025-05-01 02:08:23,290 - DEBUG - Response for create_network : {'network': {'id': 'fc6873fb-5da3-434a-b9bf-6e81f55a1084', 'name': 'ctest-ext_vn-07591351', 'tenant_id': '3bd144fd2a674f75854e30ece0a28ff7', 'project_id': '3bd144fd2a674f75854e30ece0a28ff7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54283128', 'ctest-ext_vn-07591351'], 'port_security_enabled': True, 'description': ''}}
2025-05-01 02:08:23,470 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd070e67d-bea1-4f8a-8fd2-01988922ec7b', 'name': '', 'tenant_id': '3bd144fd2a674f75854e30ece0a28ff7', 'network_id': 'fc6873fb-5da3-434a-b9bf-6e81f55a1084', 'ip_version': 4, 'cidr': '185.204.158.128/26', 'allocation_pools': [{'start': '185.204.158.130', 'end': '185.204.158.190'}], 'gateway_ip': '185.204.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.204.158.130', 'tags': [], 'project_id': '3bd144fd2a674f75854e30ece0a28ff7'}}
2025-05-01 02:08:23,489 - INFO - Created VN ctest-ext_vn-07591351
2025-05-01 02:08:23,542 - DEBUG - VN ctest-ext_vn-07591351 UUID is fc6873fb-5da3-434a-b9bf-6e81f55a1084
2025-05-01 02:08:23,739 - DEBUG - Services list from nova: [, , ]
2025-05-01 02:08:24,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3252-1)
2025-05-01 02:08:26,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3252-1)
2025-05-01 02:08:26,196 - INFO - Setting gateway for router 5aad4806-220d-463f-b6b3-325007a800a6 to network fc6873fb-5da3-434a-b9bf-6e81f55a1084
2025-05-01 02:08:26,265 - INFO - Adding interface with subnet_id a98fd5ee-a96e-40d8-a4c1-a7f4b22e96e4, port_id None to router 5aad4806-220d-463f-b6b3-325007a800a6
2025-05-01 02:08:26,674 - INFO - Waiting for VM ctest-TestRoutersBasic-54283128-50872218 to be up..
2025-05-01 02:08:26,845 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-01 02:08:31,932 - DEBUG - VM is in ACTIVE state now
2025-05-01 02:08:31,932 - INFO - VM name : ctest-TestRoutersBasic-54283128-50872218
2025-05-01 02:08:32,017 - DEBUG - VM ctest-TestRoutersBasic-54283128-50872218 ID is a9c58bc6-5657-4987-a7a9-b8f18412b631
2025-05-01 02:08:32,036 - DEBUG - VM ctest-TestRoutersBasic-54283128-50872218 launched on Node cn-jenkins-deploy-platform-ansible-os-3252-1
2025-05-01 02:08:32,112 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a9c58bc6-5657-4987-a7a9-b8f18412b631
2025-05-01 02:08:32,446 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a9c58bc6-5657-4987-a7a9-b8f18412b631
2025-05-01 02:08:32,487 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/26bd69e4-0a36-46e5-928a-5cabc3ff17e4
2025-05-01 02:08:35,806 - 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-05-01 02:08:35,806 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54283128-50872218 failed!
2025-05-01 02:08:35,862 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54283128:ctest-vn-98329440 is 206.161.68.1 and allocation pool is NOT set
2025-05-01 02:08:37,925 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.870 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.870/2.892/4.914/2.022 ms')
2025-05-01 02:08:37,925 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54283128-50872218 passed
2025-05-01 02:08:38,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-01 02:08:38,078 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54283128-50872218, IP 206.161.68.3, Port 22
2025-05-01 02:08:38,234 - DEBUG - VM ctest-TestRoutersBasic-54283128-50872218 is ready for SSH connections
2025-05-01 02:08:38,234 - INFO - Waiting for VM ctest-TestRoutersBasic-54283128-89876787 to be up..
2025-05-01 02:08:38,320 - DEBUG - VM is in ACTIVE state now
2025-05-01 02:08:38,320 - INFO - VM name : ctest-TestRoutersBasic-54283128-89876787
2025-05-01 02:08:38,404 - DEBUG - VM ctest-TestRoutersBasic-54283128-89876787 ID is ddc4b459-3bb4-41db-a982-1f2be3befdc9
2025-05-01 02:08:38,404 - DEBUG - VM ctest-TestRoutersBasic-54283128-89876787 launched on Node cn-jenkins-deploy-platform-ansible-os-3252-1
2025-05-01 02:08:38,483 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ddc4b459-3bb4-41db-a982-1f2be3befdc9
2025-05-01 02:08:38,494 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7da1e6ec-b362-430b-8225-d3214e3540c4
2025-05-01 02:08:39,753 - 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=4.18 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 1001ms\r\nrtt min/avg/max/mdev = 0.436/2.306/4.177/1.870 ms')
2025-05-01 02:08:39,753 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54283128-89876787 passed
2025-05-01 02:08:39,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-01 02:08:39,906 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54283128-89876787, IP 185.204.158.131, Port 22
2025-05-01 02:08:40,062 - DEBUG - VM ctest-TestRoutersBasic-54283128-89876787 is ready for SSH connections
2025-05-01 02:08:40,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-01 02:08:40,062 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.204.158.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-05-01 02:08:40,062 - DEBUG - ping -s 56 -c 3 -W 1 185.204.158.131
2025-05-01 02:08:43,782 - DEBUG - PING 185.204.158.131 (185.204.158.131): 56 data bytes
64 bytes from 185.204.158.131: seq=0 ttl=62 time=8.086 ms
64 bytes from 185.204.158.131: seq=1 ttl=62 time=0.818 ms
64 bytes from 185.204.158.131: seq=2 ttl=62 time=0.904 ms
--- 185.204.158.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.818/3.269/8.086 ms
2025-05-01 02:08:43,782 - INFO - Ping to IP 185.204.158.131 from VM ctest-TestRoutersBasic-54283128-50872218 passed
2025-05-01 02:08:43,782 - INFO - Deleting interface with subnet_id a98fd5ee-a96e-40d8-a4c1-a7f4b22e96e4, port_id None from router 5aad4806-220d-463f-b6b3-325007a800a6
2025-05-01 02:08:43,996 - INFO - Deleting VM ctest-TestRoutersBasic-54283128-89876787
2025-05-01 02:08:44,068 - INFO - Deleting VM ctest-TestRoutersBasic-54283128-50872218
2025-05-01 02:08:44,161 - INFO - Deleting VN ctest-ext_vn-07591351
2025-05-01 02:08:44,227 - DEBUG - VN fc6873fb-5da3-434a-b9bf-6e81f55a1084 still in use: Unable to complete operation on network fc6873fb-5da3-434a-b9bf-6e81f55a1084. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e91827e8-7906-4203-a804-866e6a12c83b']
2025-05-01 02:08:44,227 - WARNING - Deleting VN ctest-ext_vn-07591351 failed..Will retry
2025-05-01 02:08:46,331 - DEBUG - Response for deleting network ()
2025-05-01 02:08:46,331 - INFO - Deleting VN ctest-vn-98329440
2025-05-01 02:08:46,439 - DEBUG - Response for deleting network ()
2025-05-01 02:08:46,697 - DEBUG - No XMPP flaps were noticed during the test
2025-05-01 02:08:46,697 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-01 02:08:46,697 - INFO - --------------------------------------------------------------------------------
2025-05-01 02:08:47,430 - INFO - Deleted project: ctest-TestRoutersBasic-54283128, ID : 3bd144fd-2a67-4f75-854e-30ece0a28ff7