2025-02-04 07:04:09,429 - INFO - Domain Default found not creating
2025-02-04 07:04:09,585 - INFO - Project ctest-TestRoutersBasic-07857983 not found, creating it
2025-02-04 07:04:10,062 - INFO - Created Project:ctest-TestRoutersBasic-07857983, ID : 29855ecb-5076-456e-a075-718d850b6fe5
2025-02-04 07:04:11,513 - INFO - ================================================================================
2025-02-04 07:04:11,513 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-02-04 07:04:11,513 - 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-02-04 07:04:11,774 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.6': '0'}} with
2025-02-04 07:04:11,774 - INFO - Initial checks done. Running the testcase now
2025-02-04 07:04:11,774 - INFO -
2025-02-04 07:04:12,473 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07857983
2025-02-04 07:04:12,567 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07857983
2025-02-04 07:04:12,899 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07857983', 'default']}
2025-02-04 07:04:13,209 - DEBUG - Response for create_network : {'network': {'id': '845aba6b-0673-4ccf-8d2c-311ca2a77c8e', 'name': 'ctest-vn-21167146', 'tenant_id': '29855ecb5076456ea075718d850b6fe5', 'project_id': '29855ecb5076456ea075718d850b6fe5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07857983', 'ctest-vn-21167146'], 'port_security_enabled': True, 'description': ''}}
2025-02-04 07:04:13,412 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c960fcd-a06a-4db7-a7a9-8bee0680aa97', 'name': '', 'tenant_id': '29855ecb5076456ea075718d850b6fe5', 'network_id': '845aba6b-0673-4ccf-8d2c-311ca2a77c8e', 'ip_version': 4, 'cidr': '195.77.216.128/26', 'allocation_pools': [{'start': '195.77.216.130', 'end': '195.77.216.190'}], 'gateway_ip': '195.77.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.77.216.130', 'tags': [], 'project_id': '29855ecb5076456ea075718d850b6fe5'}}
2025-02-04 07:04:13,430 - INFO - Created VN ctest-vn-21167146
2025-02-04 07:04:13,483 - DEBUG - VN ctest-vn-21167146 UUID is 845aba6b-0673-4ccf-8d2c-311ca2a77c8e
2025-02-04 07:04:13,811 - DEBUG - Response for create_network : {'network': {'id': '275ea98d-4913-4224-b82d-68810edd1fd7', 'name': 'ctest-ext_vn-48320800', 'tenant_id': '29855ecb5076456ea075718d850b6fe5', 'project_id': '29855ecb5076456ea075718d850b6fe5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07857983', 'ctest-ext_vn-48320800'], 'port_security_enabled': True, 'description': ''}}
2025-02-04 07:04:14,005 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e73e3fa-97c3-4bd1-8172-cebb23c1ae53', 'name': '', 'tenant_id': '29855ecb5076456ea075718d850b6fe5', 'network_id': '275ea98d-4913-4224-b82d-68810edd1fd7', 'ip_version': 4, 'cidr': '67.117.69.0/26', 'allocation_pools': [{'start': '67.117.69.2', 'end': '67.117.69.62'}], 'gateway_ip': '67.117.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.117.69.2', 'tags': [], 'project_id': '29855ecb5076456ea075718d850b6fe5'}}
2025-02-04 07:04:14,023 - INFO - Created VN ctest-ext_vn-48320800
2025-02-04 07:04:14,075 - DEBUG - VN ctest-ext_vn-48320800 UUID is 275ea98d-4913-4224-b82d-68810edd1fd7
2025-02-04 07:04:14,247 - DEBUG - Services list from nova: [, , ]
2025-02-04 07:04:15,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2684-1)
2025-02-04 07:04:16,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2684-1)
2025-02-04 07:04:16,492 - INFO - Setting gateway for router 021d41c2-66ee-471f-a899-b105566616e6 to network 275ea98d-4913-4224-b82d-68810edd1fd7
2025-02-04 07:04:16,546 - INFO - Adding interface with subnet_id 2c960fcd-a06a-4db7-a7a9-8bee0680aa97, port_id None to router 021d41c2-66ee-471f-a899-b105566616e6
2025-02-04 07:04:16,925 - INFO - Waiting for VM ctest-TestRoutersBasic-07857983-06597902 to be up..
2025-02-04 07:04:17,111 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-04 07:04:22,187 - DEBUG - VM is in ACTIVE state now
2025-02-04 07:04:22,187 - INFO - VM name : ctest-TestRoutersBasic-07857983-06597902
2025-02-04 07:04:22,260 - DEBUG - VM ctest-TestRoutersBasic-07857983-06597902 ID is 041182c6-3a3c-4200-8a0e-4f0edb0da471
2025-02-04 07:04:22,278 - DEBUG - VM ctest-TestRoutersBasic-07857983-06597902 launched on Node cn-jenkins-deploy-platform-ansible-os-2684-1
2025-02-04 07:04:22,389 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/041182c6-3a3c-4200-8a0e-4f0edb0da471
2025-02-04 07:04:22,682 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/041182c6-3a3c-4200-8a0e-4f0edb0da471
2025-02-04 07:04:22,712 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/4588af8a-0f28-4fba-8b15-4c6e949cb9fd
2025-02-04 07:04:25,986 - 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-02-04 07:04:25,986 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07857983-06597902 failed!
2025-02-04 07:04:26,043 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07857983:ctest-vn-21167146 is 195.77.216.129 and allocation pool is NOT set
2025-02-04 07:04:28,102 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.532 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.532/1.793/3.055/1.261 ms')
2025-02-04 07:04:28,102 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07857983-06597902 passed
2025-02-04 07:04:28,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-04 07:04:28,255 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07857983-06597902, IP 195.77.216.131, Port 22
2025-02-04 07:04:28,411 - DEBUG - VM ctest-TestRoutersBasic-07857983-06597902 is ready for SSH connections
2025-02-04 07:04:28,411 - INFO - Waiting for VM ctest-TestRoutersBasic-07857983-19022799 to be up..
2025-02-04 07:04:28,490 - DEBUG - VM is in ACTIVE state now
2025-02-04 07:04:28,490 - INFO - VM name : ctest-TestRoutersBasic-07857983-19022799
2025-02-04 07:04:28,564 - DEBUG - VM ctest-TestRoutersBasic-07857983-19022799 ID is 32973f86-bc92-4d47-a1bd-2ac6cf3ee9ab
2025-02-04 07:04:28,564 - DEBUG - VM ctest-TestRoutersBasic-07857983-19022799 launched on Node cn-jenkins-deploy-platform-ansible-os-2684-1
2025-02-04 07:04:28,640 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/32973f86-bc92-4d47-a1bd-2ac6cf3ee9ab
2025-02-04 07:04:28,652 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/6ab8be7a-2dd7-4050-a10c-f751629e9825
2025-02-04 07:04:29,894 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.330 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.330/1.903/3.477/1.573 ms')
2025-02-04 07:04:29,894 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-07857983-19022799 passed
2025-02-04 07:04:30,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-04 07:04:30,051 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07857983-19022799, IP 67.117.69.3, Port 22
2025-02-04 07:04:30,207 - DEBUG - VM ctest-TestRoutersBasic-07857983-19022799 is ready for SSH connections
2025-02-04 07:04:30,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-04 07:04:30,207 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.117.69.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2025-02-04 07:04:30,207 - DEBUG - ping -s 56 -c 3 -W 1 67.117.69.3
2025-02-04 07:04:33,954 - DEBUG - PING 67.117.69.3 (67.117.69.3): 56 data bytes
64 bytes from 67.117.69.3: seq=0 ttl=62 time=6.020 ms
64 bytes from 67.117.69.3: seq=1 ttl=62 time=1.124 ms
64 bytes from 67.117.69.3: seq=2 ttl=62 time=1.064 ms
--- 67.117.69.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.064/2.736/6.020 ms
2025-02-04 07:04:33,954 - INFO - Ping to IP 67.117.69.3 from VM ctest-TestRoutersBasic-07857983-06597902 passed
2025-02-04 07:04:33,955 - INFO - Deleting interface with subnet_id 2c960fcd-a06a-4db7-a7a9-8bee0680aa97, port_id None from router 021d41c2-66ee-471f-a899-b105566616e6
2025-02-04 07:04:34,159 - INFO - Deleting VM ctest-TestRoutersBasic-07857983-19022799
2025-02-04 07:04:34,230 - INFO - Deleting VM ctest-TestRoutersBasic-07857983-06597902
2025-02-04 07:04:34,312 - INFO - Deleting VN ctest-ext_vn-48320800
2025-02-04 07:04:34,387 - DEBUG - VN 275ea98d-4913-4224-b82d-68810edd1fd7 still in use: Unable to complete operation on network 275ea98d-4913-4224-b82d-68810edd1fd7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e2bee9bd-c0aa-4195-8e7b-d43fd90c2b19']
2025-02-04 07:04:34,388 - WARNING - Deleting VN ctest-ext_vn-48320800 failed..Will retry
2025-02-04 07:04:36,495 - DEBUG - Response for deleting network ()
2025-02-04 07:04:36,495 - INFO - Deleting VN ctest-vn-21167146
2025-02-04 07:04:36,602 - DEBUG - Response for deleting network ()
2025-02-04 07:04:36,857 - DEBUG - No XMPP flaps were noticed during the test
2025-02-04 07:04:36,857 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-02-04 07:04:36,857 - INFO - --------------------------------------------------------------------------------
2025-02-04 07:04:37,529 - INFO - Deleted project: ctest-TestRoutersBasic-07857983, ID : 29855ecb-5076-456e-a075-718d850b6fe5