2025-01-09 19:21:02,310 - INFO - Domain Default found not creating
2025-01-09 19:21:02,467 - INFO - Project ctest-TestRoutersBasic-73015383 not found, creating it
2025-01-09 19:21:03,011 - INFO - Created Project:ctest-TestRoutersBasic-73015383, ID : 924760ae-f62b-49dd-a5c2-1d11147ff668
2025-01-09 19:21:04,510 - INFO - ================================================================================
2025-01-09 19:21:04,510 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-09 19:21:04,510 - 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-01-09 19:21:04,764 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with
2025-01-09 19:21:04,765 - INFO - Initial checks done. Running the testcase now
2025-01-09 19:21:04,765 - INFO -
2025-01-09 19:21:05,473 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73015383
2025-01-09 19:21:05,570 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73015383
2025-01-09 19:21:05,902 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73015383', 'default']}
2025-01-09 19:21:06,258 - DEBUG - Response for create_network : {'network': {'id': '6e0fce3b-711e-44e4-9e7d-83fe308f8acf', 'name': 'ctest-vn-02966450', 'tenant_id': '924760aef62b49dda5c21d11147ff668', 'project_id': '924760aef62b49dda5c21d11147ff668', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73015383', 'ctest-vn-02966450'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 19:21:06,488 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1a09dee-df37-49c8-ae16-ea7d8af2f96e', 'name': '', 'tenant_id': '924760aef62b49dda5c21d11147ff668', 'network_id': '6e0fce3b-711e-44e4-9e7d-83fe308f8acf', 'ip_version': 4, 'cidr': '15.22.105.192/26', 'allocation_pools': [{'start': '15.22.105.194', 'end': '15.22.105.254'}], 'gateway_ip': '15.22.105.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.22.105.194', 'tags': [], 'project_id': '924760aef62b49dda5c21d11147ff668'}}
2025-01-09 19:21:06,509 - INFO - Created VN ctest-vn-02966450
2025-01-09 19:21:06,566 - DEBUG - VN ctest-vn-02966450 UUID is 6e0fce3b-711e-44e4-9e7d-83fe308f8acf
2025-01-09 19:21:06,905 - DEBUG - Response for create_network : {'network': {'id': 'baee00db-fa94-41ca-80de-0caf680a3219', 'name': 'ctest-ext_vn-18907871', 'tenant_id': '924760aef62b49dda5c21d11147ff668', 'project_id': '924760aef62b49dda5c21d11147ff668', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73015383', 'ctest-ext_vn-18907871'], 'port_security_enabled': True, 'description': ''}}
2025-01-09 19:21:07,111 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a3775a1-9c8c-4b86-9971-0ce5370fb777', 'name': '', 'tenant_id': '924760aef62b49dda5c21d11147ff668', 'network_id': 'baee00db-fa94-41ca-80de-0caf680a3219', 'ip_version': 4, 'cidr': '181.195.23.128/26', 'allocation_pools': [{'start': '181.195.23.130', 'end': '181.195.23.190'}], 'gateway_ip': '181.195.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.195.23.130', 'tags': [], 'project_id': '924760aef62b49dda5c21d11147ff668'}}
2025-01-09 19:21:07,130 - INFO - Created VN ctest-ext_vn-18907871
2025-01-09 19:21:07,186 - DEBUG - VN ctest-ext_vn-18907871 UUID is baee00db-fa94-41ca-80de-0caf680a3219
2025-01-09 19:21:07,370 - DEBUG - Services list from nova: [, , ]
2025-01-09 19:21:08,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2592-1)
2025-01-09 19:21:09,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2592-1)
2025-01-09 19:21:09,704 - INFO - Setting gateway for router 5989c33e-20ae-4121-9427-09de0f975973 to network baee00db-fa94-41ca-80de-0caf680a3219
2025-01-09 19:21:09,781 - INFO - Adding interface with subnet_id c1a09dee-df37-49c8-ae16-ea7d8af2f96e, port_id None to router 5989c33e-20ae-4121-9427-09de0f975973
2025-01-09 19:21:10,216 - INFO - Waiting for VM ctest-TestRoutersBasic-73015383-39320505 to be up..
2025-01-09 19:21:10,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-09 19:21:15,523 - DEBUG - VM is in ACTIVE state now
2025-01-09 19:21:15,523 - INFO - VM name : ctest-TestRoutersBasic-73015383-39320505
2025-01-09 19:21:15,614 - DEBUG - VM ctest-TestRoutersBasic-73015383-39320505 ID is 8418ce3b-0b66-47fc-93b1-fc00f0d26f61
2025-01-09 19:21:15,638 - DEBUG - VM ctest-TestRoutersBasic-73015383-39320505 launched on Node cn-jenkins-deploy-platform-ansible-os-2592-1
2025-01-09 19:21:15,733 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/8418ce3b-0b66-47fc-93b1-fc00f0d26f61
2025-01-09 19:21:16,031 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/8418ce3b-0b66-47fc-93b1-fc00f0d26f61
2025-01-09 19:21:16,065 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/fe7d166c-0ae2-45ab-983c-9815ad079d2d
2025-01-09 19:21:19,341 - 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-01-09 19:21:19,341 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73015383-39320505 failed!
2025-01-09 19:21:19,398 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73015383:ctest-vn-02966450 is 15.22.105.193 and allocation pool is NOT set
2025-01-09 19:21:21,454 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.589 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.589/1.866/3.144/1.277 ms')
2025-01-09 19:21:21,454 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73015383-39320505 passed
2025-01-09 19:21:21,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 19:21:21,618 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73015383-39320505, IP 15.22.105.195, Port 22
2025-01-09 19:21:21,785 - DEBUG - VM ctest-TestRoutersBasic-73015383-39320505 is ready for SSH connections
2025-01-09 19:21:21,785 - INFO - Waiting for VM ctest-TestRoutersBasic-73015383-20198662 to be up..
2025-01-09 19:21:21,894 - DEBUG - VM is in ACTIVE state now
2025-01-09 19:21:21,894 - INFO - VM name : ctest-TestRoutersBasic-73015383-20198662
2025-01-09 19:21:22,020 - DEBUG - VM ctest-TestRoutersBasic-73015383-20198662 ID is 8745cdd7-f072-427d-9873-2a0f2c0ca37c
2025-01-09 19:21:22,021 - DEBUG - VM ctest-TestRoutersBasic-73015383-20198662 launched on Node cn-jenkins-deploy-platform-ansible-os-2592-1
2025-01-09 19:21:22,120 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/8745cdd7-f072-427d-9873-2a0f2c0ca37c
2025-01-09 19:21:22,129 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/ca4c8a24-8d36-4693-8e6f-35d0bddbedfe
2025-01-09 19:21:23,375 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.939/3.383/1.443 ms')
2025-01-09 19:21:23,375 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-73015383-20198662 passed
2025-01-09 19:21:23,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 19:21:23,526 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73015383-20198662, IP 181.195.23.131, Port 22
2025-01-09 19:21:23,681 - DEBUG - VM ctest-TestRoutersBasic-73015383-20198662 is ready for SSH connections
2025-01-09 19:21:23,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-09 19:21:23,682 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.195.23.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123
2025-01-09 19:21:23,682 - DEBUG - ping -s 56 -c 3 -W 1 181.195.23.131
2025-01-09 19:21:27,734 - DEBUG - PING 181.195.23.131 (181.195.23.131): 56 data bytes
64 bytes from 181.195.23.131: seq=0 ttl=62 time=8.383 ms
64 bytes from 181.195.23.131: seq=1 ttl=62 time=1.173 ms
64 bytes from 181.195.23.131: seq=2 ttl=62 time=1.286 ms
--- 181.195.23.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.173/3.614/8.383 ms
2025-01-09 19:21:27,735 - INFO - Ping to IP 181.195.23.131 from VM ctest-TestRoutersBasic-73015383-39320505 passed
2025-01-09 19:21:27,735 - INFO - Deleting interface with subnet_id c1a09dee-df37-49c8-ae16-ea7d8af2f96e, port_id None from router 5989c33e-20ae-4121-9427-09de0f975973
2025-01-09 19:21:27,961 - INFO - Deleting VM ctest-TestRoutersBasic-73015383-20198662
2025-01-09 19:21:28,031 - INFO - Deleting VM ctest-TestRoutersBasic-73015383-39320505
2025-01-09 19:21:28,131 - INFO - Deleting VN ctest-ext_vn-18907871
2025-01-09 19:21:28,205 - DEBUG - VN baee00db-fa94-41ca-80de-0caf680a3219 still in use: Unable to complete operation on network baee00db-fa94-41ca-80de-0caf680a3219. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5f99e45b-e1a4-439f-bd34-f0466165183c']
2025-01-09 19:21:28,206 - WARNING - Deleting VN ctest-ext_vn-18907871 failed..Will retry
2025-01-09 19:21:30,323 - DEBUG - Response for deleting network ()
2025-01-09 19:21:30,324 - INFO - Deleting VN ctest-vn-02966450
2025-01-09 19:21:30,441 - DEBUG - Response for deleting network ()
2025-01-09 19:21:30,702 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 19:21:30,702 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-09 19:21:30,702 - INFO - --------------------------------------------------------------------------------
2025-01-09 19:21:31,404 - INFO - Deleted project: ctest-TestRoutersBasic-73015383, ID : 924760ae-f62b-49dd-a5c2-1d11147ff668