2024-10-22 09:53:41,391 - INFO - Domain Default found not creating
2024-10-22 09:53:41,572 - INFO - Project ctest-TestRoutersBasic-57412907 not found, creating it
2024-10-22 09:53:42,051 - INFO - Created Project:ctest-TestRoutersBasic-57412907, ID : 56441cf0-ef76-4543-b7a1-14bcf5f925fa
2024-10-22 09:53:43,571 - INFO - ================================================================================
2024-10-22 09:53:43,572 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-10-22 09:53:43,572 - 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
2024-10-22 09:53:43,831 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.5': '0'}} with
2024-10-22 09:53:43,831 - INFO - Initial checks done. Running the testcase now
2024-10-22 09:53:43,832 - INFO -
2024-10-22 09:53:44,580 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57412907
2024-10-22 09:53:44,680 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57412907
2024-10-22 09:53:45,012 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57412907', 'default']}
2024-10-22 09:53:45,335 - DEBUG - Response for create_network : {'network': {'id': '683c9566-1cc3-4efd-9de2-ee7a53900dcb', 'name': 'ctest-vn-60071779', 'tenant_id': '56441cf0ef764543b7a114bcf5f925fa', 'project_id': '56441cf0ef764543b7a114bcf5f925fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57412907', 'ctest-vn-60071779'], 'port_security_enabled': True, 'description': ''}}
2024-10-22 09:53:45,544 - DEBUG - Response for create_subnet : {'subnet': {'id': '095a218e-c1dc-4b5b-bb4c-ce910b35380b', 'name': '', 'tenant_id': '56441cf0ef764543b7a114bcf5f925fa', 'network_id': '683c9566-1cc3-4efd-9de2-ee7a53900dcb', 'ip_version': 4, 'cidr': '120.49.194.64/26', 'allocation_pools': [{'start': '120.49.194.66', 'end': '120.49.194.126'}], 'gateway_ip': '120.49.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.49.194.66', 'tags': [], 'project_id': '56441cf0ef764543b7a114bcf5f925fa'}}
2024-10-22 09:53:45,563 - INFO - Created VN ctest-vn-60071779
2024-10-22 09:53:45,620 - DEBUG - VN ctest-vn-60071779 UUID is 683c9566-1cc3-4efd-9de2-ee7a53900dcb
2024-10-22 09:53:45,974 - DEBUG - Response for create_network : {'network': {'id': 'b92440c3-0ec7-4375-ade9-0dffc44d103f', 'name': 'ctest-ext_vn-22149686', 'tenant_id': '56441cf0ef764543b7a114bcf5f925fa', 'project_id': '56441cf0ef764543b7a114bcf5f925fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57412907', 'ctest-ext_vn-22149686'], 'port_security_enabled': True, 'description': ''}}
2024-10-22 09:53:46,183 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e21b2b8d-c6f2-4da0-9c16-1b3799e83285', 'name': '', 'tenant_id': '56441cf0ef764543b7a114bcf5f925fa', 'network_id': 'b92440c3-0ec7-4375-ade9-0dffc44d103f', 'ip_version': 4, 'cidr': '198.65.109.128/26', 'allocation_pools': [{'start': '198.65.109.130', 'end': '198.65.109.190'}], 'gateway_ip': '198.65.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.65.109.130', 'tags': [], 'project_id': '56441cf0ef764543b7a114bcf5f925fa'}}
2024-10-22 09:53:46,202 - INFO - Created VN ctest-ext_vn-22149686
2024-10-22 09:53:46,260 - DEBUG - VN ctest-ext_vn-22149686 UUID is b92440c3-0ec7-4375-ade9-0dffc44d103f
2024-10-22 09:53:46,439 - DEBUG - Services list from nova: [, , ]
2024-10-22 09:53:47,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2124-1)
2024-10-22 09:53:48,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2124-1)
2024-10-22 09:53:48,789 - INFO - Setting gateway for router 61c7b696-8c52-4747-ad53-a1477eb4e0eb to network b92440c3-0ec7-4375-ade9-0dffc44d103f
2024-10-22 09:53:48,865 - INFO - Adding interface with subnet_id 095a218e-c1dc-4b5b-bb4c-ce910b35380b, port_id None to router 61c7b696-8c52-4747-ad53-a1477eb4e0eb
2024-10-22 09:53:49,378 - INFO - Waiting for VM ctest-TestRoutersBasic-57412907-08065967 to be up..
2024-10-22 09:53:49,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-22 09:53:54,709 - DEBUG - VM is in ACTIVE state now
2024-10-22 09:53:54,710 - INFO - VM name : ctest-TestRoutersBasic-57412907-08065967
2024-10-22 09:53:54,803 - DEBUG - VM ctest-TestRoutersBasic-57412907-08065967 ID is e86155e9-7a95-476f-a77d-be957462d0e9
2024-10-22 09:53:54,824 - DEBUG - VM ctest-TestRoutersBasic-57412907-08065967 launched on Node cn-jenkins-deploy-platform-ansible-os-2124-1
2024-10-22 09:53:54,905 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e86155e9-7a95-476f-a77d-be957462d0e9
2024-10-22 09:53:55,202 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e86155e9-7a95-476f-a77d-be957462d0e9
2024-10-22 09:53:55,243 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/29cce9e6-e174-416c-9ba0-58989fccd3d6
2024-10-22 09:53:58,520 - 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 1005ms')
2024-10-22 09:53:58,520 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57412907-08065967 failed!
2024-10-22 09:53:58,584 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57412907:ctest-vn-60071779 is 120.49.194.65 and allocation pool is NOT set
2024-10-22 09:54:00,647 - 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.367 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.367/1.714/3.061/1.347 ms')
2024-10-22 09:54:00,647 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57412907-08065967 passed
2024-10-22 09:54:00,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-22 09:54:00,808 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57412907-08065967, IP 120.49.194.67, Port 22
2024-10-22 09:54:00,968 - DEBUG - VM ctest-TestRoutersBasic-57412907-08065967 is ready for SSH connections
2024-10-22 09:54:00,968 - INFO - Waiting for VM ctest-TestRoutersBasic-57412907-99484568 to be up..
2024-10-22 09:54:01,044 - DEBUG - VM is in ACTIVE state now
2024-10-22 09:54:01,045 - INFO - VM name : ctest-TestRoutersBasic-57412907-99484568
2024-10-22 09:54:01,122 - DEBUG - VM ctest-TestRoutersBasic-57412907-99484568 ID is 742cee58-10b1-4baf-a7b6-2eca243ffe8b
2024-10-22 09:54:01,122 - DEBUG - VM ctest-TestRoutersBasic-57412907-99484568 launched on Node cn-jenkins-deploy-platform-ansible-os-2124-1
2024-10-22 09:54:01,200 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/742cee58-10b1-4baf-a7b6-2eca243ffe8b
2024-10-22 09:54:01,210 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/41c981b1-0f0e-4bbe-8249-4345a58e442c
2024-10-22 09:54:02,464 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/1.644/2.907/1.263 ms')
2024-10-22 09:54:02,464 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57412907-99484568 passed
2024-10-22 09:54:02,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-22 09:54:02,616 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57412907-99484568, IP 198.65.109.131, Port 22
2024-10-22 09:54:02,772 - DEBUG - VM ctest-TestRoutersBasic-57412907-99484568 is ready for SSH connections
2024-10-22 09:54:02,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-22 09:54:02,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.65.109.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2024-10-22 09:54:02,772 - DEBUG - ping -s 56 -c 3 -W 1 198.65.109.131
2024-10-22 09:54:06,781 - DEBUG - PING 198.65.109.131 (198.65.109.131): 56 data bytes
64 bytes from 198.65.109.131: seq=0 ttl=62 time=5.590 ms
64 bytes from 198.65.109.131: seq=1 ttl=62 time=0.759 ms
64 bytes from 198.65.109.131: seq=2 ttl=62 time=1.134 ms
--- 198.65.109.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.759/2.494/5.590 ms
2024-10-22 09:54:06,781 - INFO - Ping to IP 198.65.109.131 from VM ctest-TestRoutersBasic-57412907-08065967 passed
2024-10-22 09:54:06,781 - INFO - Deleting interface with subnet_id 095a218e-c1dc-4b5b-bb4c-ce910b35380b, port_id None from router 61c7b696-8c52-4747-ad53-a1477eb4e0eb
2024-10-22 09:54:07,001 - INFO - Deleting VM ctest-TestRoutersBasic-57412907-99484568
2024-10-22 09:54:07,065 - INFO - Deleting VM ctest-TestRoutersBasic-57412907-08065967
2024-10-22 09:54:07,131 - INFO - Deleting VN ctest-ext_vn-22149686
2024-10-22 09:54:07,206 - DEBUG - VN b92440c3-0ec7-4375-ade9-0dffc44d103f still in use: Unable to complete operation on network b92440c3-0ec7-4375-ade9-0dffc44d103f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-040193fe-3a44-4078-af40-8b56df6356ac']
2024-10-22 09:54:07,206 - WARNING - Deleting VN ctest-ext_vn-22149686 failed..Will retry
2024-10-22 09:54:09,392 - DEBUG - Response for deleting network ()
2024-10-22 09:54:09,392 - INFO - Deleting VN ctest-vn-60071779
2024-10-22 09:54:09,531 - DEBUG - Response for deleting network ()
2024-10-22 09:54:09,786 - DEBUG - No XMPP flaps were noticed during the test
2024-10-22 09:54:09,786 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-10-22 09:54:09,786 - INFO - --------------------------------------------------------------------------------
2024-10-22 09:54:10,517 - INFO - Deleted project: ctest-TestRoutersBasic-57412907, ID : 56441cf0-ef76-4543-b7a1-14bcf5f925fa