2025-01-07 13:53:53,848 - INFO - Domain Default found not creating
2025-01-07 13:53:54,004 - INFO - Project ctest-TestRoutersBasic-45347860 not found, creating it
2025-01-07 13:53:54,489 - INFO - Created Project:ctest-TestRoutersBasic-45347860, ID : b22db4cd-6301-4f54-a8ee-88d625a1c870
2025-01-07 13:53:56,033 - INFO - ================================================================================
2025-01-07 13:53:56,033 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-01-07 13:53:56,033 - 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-07 13:53:56,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with
2025-01-07 13:53:56,291 - INFO - Initial checks done. Running the testcase now
2025-01-07 13:53:56,291 - INFO -
2025-01-07 13:53:57,006 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45347860
2025-01-07 13:53:57,107 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45347860
2025-01-07 13:53:57,438 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45347860', 'default']}
2025-01-07 13:53:57,744 - DEBUG - Response for create_network : {'network': {'id': '2932b989-dc40-49cf-a13f-24bce3b47b12', 'name': 'ctest-vn-88819737', 'tenant_id': 'b22db4cd63014f54a8ee88d625a1c870', 'project_id': 'b22db4cd63014f54a8ee88d625a1c870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45347860', 'ctest-vn-88819737'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 13:53:57,940 - DEBUG - Response for create_subnet : {'subnet': {'id': '47b6ee73-7c3c-4aa6-8d89-5770e3be920f', 'name': '', 'tenant_id': 'b22db4cd63014f54a8ee88d625a1c870', 'network_id': '2932b989-dc40-49cf-a13f-24bce3b47b12', 'ip_version': 4, 'cidr': '16.210.237.128/26', 'allocation_pools': [{'start': '16.210.237.130', 'end': '16.210.237.190'}], 'gateway_ip': '16.210.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.210.237.130', 'tags': [], 'project_id': 'b22db4cd63014f54a8ee88d625a1c870'}}
2025-01-07 13:53:57,960 - INFO - Created VN ctest-vn-88819737
2025-01-07 13:53:58,019 - DEBUG - VN ctest-vn-88819737 UUID is 2932b989-dc40-49cf-a13f-24bce3b47b12
2025-01-07 13:53:58,362 - DEBUG - Response for create_network : {'network': {'id': 'edec2c68-b760-4a26-8f8c-f27d544f9ac4', 'name': 'ctest-ext_vn-90618152', 'tenant_id': 'b22db4cd63014f54a8ee88d625a1c870', 'project_id': 'b22db4cd63014f54a8ee88d625a1c870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45347860', 'ctest-ext_vn-90618152'], 'port_security_enabled': True, 'description': ''}}
2025-01-07 13:53:58,571 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a70895db-c458-4074-9c2e-b6f95c2c9fa5', 'name': '', 'tenant_id': 'b22db4cd63014f54a8ee88d625a1c870', 'network_id': 'edec2c68-b760-4a26-8f8c-f27d544f9ac4', 'ip_version': 4, 'cidr': '22.25.34.0/26', 'allocation_pools': [{'start': '22.25.34.2', 'end': '22.25.34.62'}], 'gateway_ip': '22.25.34.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.25.34.2', 'tags': [], 'project_id': 'b22db4cd63014f54a8ee88d625a1c870'}}
2025-01-07 13:53:58,591 - INFO - Created VN ctest-ext_vn-90618152
2025-01-07 13:53:58,643 - DEBUG - VN ctest-ext_vn-90618152 UUID is edec2c68-b760-4a26-8f8c-f27d544f9ac4
2025-01-07 13:53:58,818 - DEBUG - Services list from nova: [, , ]
2025-01-07 13:53:59,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2550-1)
2025-01-07 13:54:01,177 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2550-1)
2025-01-07 13:54:01,278 - INFO - Setting gateway for router fbf76c32-e4e7-4d18-865e-7a3a672d8067 to network edec2c68-b760-4a26-8f8c-f27d544f9ac4
2025-01-07 13:54:01,363 - INFO - Adding interface with subnet_id 47b6ee73-7c3c-4aa6-8d89-5770e3be920f, port_id None to router fbf76c32-e4e7-4d18-865e-7a3a672d8067
2025-01-07 13:54:01,857 - INFO - Waiting for VM ctest-TestRoutersBasic-45347860-22770393 to be up..
2025-01-07 13:54:02,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-07 13:54:07,218 - DEBUG - VM is in ACTIVE state now
2025-01-07 13:54:07,218 - INFO - VM name : ctest-TestRoutersBasic-45347860-22770393
2025-01-07 13:54:07,307 - DEBUG - VM ctest-TestRoutersBasic-45347860-22770393 ID is 499d699a-d010-4795-835b-a5f081d4fe8e
2025-01-07 13:54:07,330 - DEBUG - VM ctest-TestRoutersBasic-45347860-22770393 launched on Node cn-jenkins-deploy-platform-ansible-os-2550-1
2025-01-07 13:54:07,406 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/499d699a-d010-4795-835b-a5f081d4fe8e
2025-01-07 13:54:07,699 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/499d699a-d010-4795-835b-a5f081d4fe8e
2025-01-07 13:54:07,740 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/d44bd9a0-3e1f-46fe-837b-5d48faa2d373
2025-01-07 13:54:10,993 - 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 1008ms')
2025-01-07 13:54:10,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45347860-22770393 failed!
2025-01-07 13:54:11,047 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45347860:ctest-vn-88819737 is 16.210.237.129 and allocation pool is NOT set
2025-01-07 13:54:13,112 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.798 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.798/2.001/3.205/1.203 ms')
2025-01-07 13:54:13,112 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45347860-22770393 passed
2025-01-07 13:54:13,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 13:54:13,271 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45347860-22770393, IP 16.210.237.131, Port 22
2025-01-07 13:54:13,430 - DEBUG - VM ctest-TestRoutersBasic-45347860-22770393 is ready for SSH connections
2025-01-07 13:54:13,431 - INFO - Waiting for VM ctest-TestRoutersBasic-45347860-74306868 to be up..
2025-01-07 13:54:13,505 - DEBUG - VM is in ACTIVE state now
2025-01-07 13:54:13,505 - INFO - VM name : ctest-TestRoutersBasic-45347860-74306868
2025-01-07 13:54:13,601 - DEBUG - VM ctest-TestRoutersBasic-45347860-74306868 ID is f7feda9b-c919-4ea8-9977-93a4dd1536c6
2025-01-07 13:54:13,602 - DEBUG - VM ctest-TestRoutersBasic-45347860-74306868 launched on Node cn-jenkins-deploy-platform-ansible-os-2550-1
2025-01-07 13:54:13,673 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/f7feda9b-c919-4ea8-9977-93a4dd1536c6
2025-01-07 13:54:13,683 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/55f5aee1-103d-4f01-b6a2-29ec4f1a0f21
2025-01-07 13:54:14,929 - 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=2.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.579/2.708/1.128 ms')
2025-01-07 13:54:14,930 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45347860-74306868 passed
2025-01-07 13:54:15,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 13:54:15,079 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45347860-74306868, IP 22.25.34.3, Port 22
2025-01-07 13:54:15,234 - DEBUG - VM ctest-TestRoutersBasic-45347860-74306868 is ready for SSH connections
2025-01-07 13:54:15,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-07 13:54:15,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.25.34.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2025-01-07 13:54:15,234 - DEBUG - ping -s 56 -c 3 -W 1 22.25.34.3
2025-01-07 13:54:18,924 - DEBUG - PING 22.25.34.3 (22.25.34.3): 56 data bytes
64 bytes from 22.25.34.3: seq=0 ttl=62 time=6.829 ms
64 bytes from 22.25.34.3: seq=1 ttl=62 time=0.935 ms
64 bytes from 22.25.34.3: seq=2 ttl=62 time=1.162 ms
--- 22.25.34.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.935/2.975/6.829 ms
2025-01-07 13:54:18,924 - INFO - Ping to IP 22.25.34.3 from VM ctest-TestRoutersBasic-45347860-22770393 passed
2025-01-07 13:54:18,924 - INFO - Deleting interface with subnet_id 47b6ee73-7c3c-4aa6-8d89-5770e3be920f, port_id None from router fbf76c32-e4e7-4d18-865e-7a3a672d8067
2025-01-07 13:54:19,269 - INFO - Deleting VM ctest-TestRoutersBasic-45347860-74306868
2025-01-07 13:54:19,337 - INFO - Deleting VM ctest-TestRoutersBasic-45347860-22770393
2025-01-07 13:54:19,417 - INFO - Deleting VN ctest-ext_vn-90618152
2025-01-07 13:54:19,491 - DEBUG - VN edec2c68-b760-4a26-8f8c-f27d544f9ac4 still in use: Unable to complete operation on network edec2c68-b760-4a26-8f8c-f27d544f9ac4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fbf2a8f1-d2a6-49dd-a284-b2c33569307b']
2025-01-07 13:54:19,491 - WARNING - Deleting VN ctest-ext_vn-90618152 failed..Will retry
2025-01-07 13:54:21,627 - DEBUG - Response for deleting network ()
2025-01-07 13:54:21,627 - INFO - Deleting VN ctest-vn-88819737
2025-01-07 13:54:21,739 - DEBUG - Response for deleting network ()
2025-01-07 13:54:21,997 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 13:54:21,997 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-07 13:54:21,997 - INFO - --------------------------------------------------------------------------------
2025-01-07 13:54:22,681 - INFO - Deleted project: ctest-TestRoutersBasic-45347860, ID : b22db4cd-6301-4f54-a8ee-88d625a1c870