2025-01-14 06:46:31,109 - INFO - Domain Default found not creating
2025-01-14 06:46:31,263 - INFO - Project ctest-TestRoutersBasic-11386659 not found, creating it
2025-01-14 06:46:31,754 - INFO - Created Project:ctest-TestRoutersBasic-11386659, ID : e0a11b57-e632-4d61-ad6d-4cb4d9a84a70
2025-01-14 06:46:33,151 - INFO - ================================================================================
2025-01-14 06:46:33,151 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-14 06:46:33,151 - 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-14 06:46:33,419 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.10': '0'}} with
2025-01-14 06:46:33,419 - INFO - Initial checks done. Running the testcase now
2025-01-14 06:46:33,419 - INFO -
2025-01-14 06:46:34,196 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11386659
2025-01-14 06:46:34,309 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11386659
2025-01-14 06:46:34,648 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11386659', 'default']}
2025-01-14 06:46:34,964 - DEBUG - Response for create_network : {'network': {'id': '726381d6-92c6-4ea0-8cb1-4a7c4e194a07', 'name': 'ctest-vn-14994751', 'tenant_id': 'e0a11b57e6324d61ad6d4cb4d9a84a70', 'project_id': 'e0a11b57e6324d61ad6d4cb4d9a84a70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11386659', 'ctest-vn-14994751'], 'port_security_enabled': True, 'description': ''}}
2025-01-14 06:46:35,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '75f316f7-9ed9-4be6-b575-a28dc32b8703', 'name': '', 'tenant_id': 'e0a11b57e6324d61ad6d4cb4d9a84a70', 'network_id': '726381d6-92c6-4ea0-8cb1-4a7c4e194a07', 'ip_version': 4, 'cidr': '56.47.63.64/26', 'allocation_pools': [{'start': '56.47.63.66', 'end': '56.47.63.126'}], 'gateway_ip': '56.47.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.47.63.66', 'tags': [], 'project_id': 'e0a11b57e6324d61ad6d4cb4d9a84a70'}}
2025-01-14 06:46:35,166 - INFO - Created VN ctest-vn-14994751
2025-01-14 06:46:35,221 - DEBUG - VN ctest-vn-14994751 UUID is 726381d6-92c6-4ea0-8cb1-4a7c4e194a07
2025-01-14 06:46:35,594 - DEBUG - Response for create_network : {'network': {'id': 'f196b33d-7468-4178-89ac-7cc5e9fb1adc', 'name': 'ctest-ext_vn-76829989', 'tenant_id': 'e0a11b57e6324d61ad6d4cb4d9a84a70', 'project_id': 'e0a11b57e6324d61ad6d4cb4d9a84a70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11386659', 'ctest-ext_vn-76829989'], 'port_security_enabled': True, 'description': ''}}
2025-01-14 06:46:35,781 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f053fff4-6d5d-4f71-9ae4-dcf5a5a74032', 'name': '', 'tenant_id': 'e0a11b57e6324d61ad6d4cb4d9a84a70', 'network_id': 'f196b33d-7468-4178-89ac-7cc5e9fb1adc', 'ip_version': 4, 'cidr': '37.209.84.192/26', 'allocation_pools': [{'start': '37.209.84.194', 'end': '37.209.84.254'}], 'gateway_ip': '37.209.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.209.84.194', 'tags': [], 'project_id': 'e0a11b57e6324d61ad6d4cb4d9a84a70'}}
2025-01-14 06:46:35,800 - INFO - Created VN ctest-ext_vn-76829989
2025-01-14 06:46:35,853 - DEBUG - VN ctest-ext_vn-76829989 UUID is f196b33d-7468-4178-89ac-7cc5e9fb1adc
2025-01-14 06:46:36,041 - DEBUG - Services list from nova: [, , ]
2025-01-14 06:46:37,076 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2619-1)
2025-01-14 06:46:38,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2619-1)
2025-01-14 06:46:38,497 - INFO - Setting gateway for router 02c55580-4d6e-4ee9-9d27-2c76237b067f to network f196b33d-7468-4178-89ac-7cc5e9fb1adc
2025-01-14 06:46:38,574 - INFO - Adding interface with subnet_id 75f316f7-9ed9-4be6-b575-a28dc32b8703, port_id None to router 02c55580-4d6e-4ee9-9d27-2c76237b067f
2025-01-14 06:46:38,966 - INFO - Waiting for VM ctest-TestRoutersBasic-11386659-40059802 to be up..
2025-01-14 06:46:39,127 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-14 06:46:44,220 - DEBUG - VM is in ACTIVE state now
2025-01-14 06:46:44,220 - INFO - VM name : ctest-TestRoutersBasic-11386659-40059802
2025-01-14 06:46:44,311 - DEBUG - VM ctest-TestRoutersBasic-11386659-40059802 ID is a8dd8c70-8728-43f6-b695-16279a974d0a
2025-01-14 06:46:44,332 - DEBUG - VM ctest-TestRoutersBasic-11386659-40059802 launched on Node cn-jenkins-deploy-platform-ansible-os-2619-1
2025-01-14 06:46:44,439 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/a8dd8c70-8728-43f6-b695-16279a974d0a
2025-01-14 06:46:44,738 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/a8dd8c70-8728-43f6-b695-16279a974d0a
2025-01-14 06:46:44,790 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/09e7f17b-2e2d-4895-bc01-63a621cf6f19
2025-01-14 06:46:48,053 - 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 1012ms')
2025-01-14 06:46:48,053 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11386659-40059802 failed!
2025-01-14 06:46:48,117 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11386659:ctest-vn-14994751 is 56.47.63.65 and allocation pool is NOT set
2025-01-14 06:46:50,183 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.65 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 = 1.651/3.103/4.556/1.452 ms')
2025-01-14 06:46:50,183 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11386659-40059802 passed
2025-01-14 06:46:50,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 06:46:50,341 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11386659-40059802, IP 56.47.63.67, Port 22
2025-01-14 06:46:50,500 - DEBUG - VM ctest-TestRoutersBasic-11386659-40059802 is ready for SSH connections
2025-01-14 06:46:50,500 - INFO - Waiting for VM ctest-TestRoutersBasic-11386659-92499495 to be up..
2025-01-14 06:46:50,585 - DEBUG - VM is in ACTIVE state now
2025-01-14 06:46:50,585 - INFO - VM name : ctest-TestRoutersBasic-11386659-92499495
2025-01-14 06:46:50,662 - DEBUG - VM ctest-TestRoutersBasic-11386659-92499495 ID is adfd6aa9-4582-4d41-a5c3-d552b929bc13
2025-01-14 06:46:50,662 - DEBUG - VM ctest-TestRoutersBasic-11386659-92499495 launched on Node cn-jenkins-deploy-platform-ansible-os-2619-1
2025-01-14 06:46:50,767 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/adfd6aa9-4582-4d41-a5c3-d552b929bc13
2025-01-14 06:46:50,779 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/70180742-54be-480b-8341-f59f195d6fbd
2025-01-14 06:46:52,022 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.630 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.630/1.933/3.236/1.303 ms')
2025-01-14 06:46:52,022 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11386659-92499495 passed
2025-01-14 06:46:52,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 06:46:52,177 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11386659-92499495, IP 37.209.84.195, Port 22
2025-01-14 06:46:52,336 - DEBUG - VM ctest-TestRoutersBasic-11386659-92499495 is ready for SSH connections
2025-01-14 06:46:52,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-14 06:46:52,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.209.84.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123
2025-01-14 06:46:52,337 - DEBUG - ping -s 56 -c 3 -W 1 37.209.84.195
2025-01-14 06:46:56,433 - DEBUG - PING 37.209.84.195 (37.209.84.195): 56 data bytes
64 bytes from 37.209.84.195: seq=0 ttl=62 time=5.537 ms
64 bytes from 37.209.84.195: seq=1 ttl=62 time=1.007 ms
64 bytes from 37.209.84.195: seq=2 ttl=62 time=1.001 ms
--- 37.209.84.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.001/2.515/5.537 ms
2025-01-14 06:46:56,433 - INFO - Ping to IP 37.209.84.195 from VM ctest-TestRoutersBasic-11386659-40059802 passed
2025-01-14 06:46:56,433 - INFO - Deleting interface with subnet_id 75f316f7-9ed9-4be6-b575-a28dc32b8703, port_id None from router 02c55580-4d6e-4ee9-9d27-2c76237b067f
2025-01-14 06:46:56,655 - INFO - Deleting VM ctest-TestRoutersBasic-11386659-92499495
2025-01-14 06:46:56,721 - INFO - Deleting VM ctest-TestRoutersBasic-11386659-40059802
2025-01-14 06:46:56,817 - INFO - Deleting VN ctest-ext_vn-76829989
2025-01-14 06:46:56,892 - DEBUG - VN f196b33d-7468-4178-89ac-7cc5e9fb1adc still in use: Unable to complete operation on network f196b33d-7468-4178-89ac-7cc5e9fb1adc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-716f2bd7-a9b3-43bc-bc5e-446561a4d56c']
2025-01-14 06:46:56,892 - WARNING - Deleting VN ctest-ext_vn-76829989 failed..Will retry
2025-01-14 06:46:59,009 - DEBUG - Response for deleting network ()
2025-01-14 06:46:59,009 - INFO - Deleting VN ctest-vn-14994751
2025-01-14 06:46:59,152 - DEBUG - Response for deleting network ()
2025-01-14 06:46:59,419 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 06:46:59,419 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-14 06:46:59,419 - INFO - --------------------------------------------------------------------------------
2025-01-14 06:47:00,097 - INFO - Deleted project: ctest-TestRoutersBasic-11386659, ID : e0a11b57-e632-4d61-ad6d-4cb4d9a84a70