2024-12-23 02:23:38,415 - INFO - Domain Default found not creating
2024-12-23 02:23:38,568 - INFO - Project ctest-TestRoutersBasic-60825939 not found, creating it
2024-12-23 02:23:39,055 - INFO - Created Project:ctest-TestRoutersBasic-60825939, ID : c489d4e8-482c-4ae8-93c9-f56290d16d9e
2024-12-23 02:23:40,737 - INFO - ================================================================================
2024-12-23 02:23:40,738 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-12-23 02:23:40,738 - 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-12-23 02:23:40,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.0.0.57': '0'}} with
2024-12-23 02:23:40,998 - INFO - Initial checks done. Running the testcase now
2024-12-23 02:23:40,998 - INFO -
2024-12-23 02:23:41,789 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60825939
2024-12-23 02:23:41,888 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60825939
2024-12-23 02:23:42,215 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60825939', 'default']}
2024-12-23 02:23:42,540 - DEBUG - Response for create_network : {'network': {'id': '3070a8f8-f9bf-498b-9899-cc5c51a40cc5', 'name': 'ctest-vn-47992594', 'tenant_id': 'c489d4e8482c4ae893c9f56290d16d9e', 'project_id': 'c489d4e8482c4ae893c9f56290d16d9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60825939', 'ctest-vn-47992594'], 'port_security_enabled': True, 'description': ''}}
2024-12-23 02:23:42,739 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f5b7dae-160d-42b2-937e-2aaf9ed4cd7e', 'name': '', 'tenant_id': 'c489d4e8482c4ae893c9f56290d16d9e', 'network_id': '3070a8f8-f9bf-498b-9899-cc5c51a40cc5', 'ip_version': 4, 'cidr': '91.140.62.64/26', 'allocation_pools': [{'start': '91.140.62.66', 'end': '91.140.62.126'}], 'gateway_ip': '91.140.62.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.140.62.66', 'tags': [], 'project_id': 'c489d4e8482c4ae893c9f56290d16d9e'}}
2024-12-23 02:23:42,759 - INFO - Created VN ctest-vn-47992594
2024-12-23 02:23:42,812 - DEBUG - VN ctest-vn-47992594 UUID is 3070a8f8-f9bf-498b-9899-cc5c51a40cc5
2024-12-23 02:23:43,151 - DEBUG - Response for create_network : {'network': {'id': '378bc2c3-a47a-4305-b6e4-152ff3096861', 'name': 'ctest-ext_vn-78041423', 'tenant_id': 'c489d4e8482c4ae893c9f56290d16d9e', 'project_id': 'c489d4e8482c4ae893c9f56290d16d9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60825939', 'ctest-ext_vn-78041423'], 'port_security_enabled': True, 'description': ''}}
2024-12-23 02:23:43,335 - DEBUG - Response for create_subnet : {'subnet': {'id': '91960bc6-243c-48b5-b2d3-f6526f203696', 'name': '', 'tenant_id': 'c489d4e8482c4ae893c9f56290d16d9e', 'network_id': '378bc2c3-a47a-4305-b6e4-152ff3096861', 'ip_version': 4, 'cidr': '194.169.138.0/26', 'allocation_pools': [{'start': '194.169.138.2', 'end': '194.169.138.62'}], 'gateway_ip': '194.169.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.169.138.2', 'tags': [], 'project_id': 'c489d4e8482c4ae893c9f56290d16d9e'}}
2024-12-23 02:23:43,359 - INFO - Created VN ctest-ext_vn-78041423
2024-12-23 02:23:43,412 - DEBUG - VN ctest-ext_vn-78041423 UUID is 378bc2c3-a47a-4305-b6e4-152ff3096861
2024-12-23 02:23:43,588 - DEBUG - Services list from nova: [, , ]
2024-12-23 02:23:44,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2489-1)
2024-12-23 02:23:45,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2489-1)
2024-12-23 02:23:46,024 - INFO - Setting gateway for router 15759f89-ade9-4644-8449-2705aa349564 to network 378bc2c3-a47a-4305-b6e4-152ff3096861
2024-12-23 02:23:46,113 - INFO - Adding interface with subnet_id 8f5b7dae-160d-42b2-937e-2aaf9ed4cd7e, port_id None to router 15759f89-ade9-4644-8449-2705aa349564
2024-12-23 02:23:46,487 - INFO - Waiting for VM ctest-TestRoutersBasic-60825939-35363978 to be up..
2024-12-23 02:23:46,677 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-12-23 02:23:51,779 - DEBUG - VM is in ACTIVE state now
2024-12-23 02:23:51,779 - INFO - VM name : ctest-TestRoutersBasic-60825939-35363978
2024-12-23 02:23:51,858 - DEBUG - VM ctest-TestRoutersBasic-60825939-35363978 ID is dccf1f60-13f9-4fea-b4a8-aa13c83146ea
2024-12-23 02:23:51,879 - DEBUG - VM ctest-TestRoutersBasic-60825939-35363978 launched on Node cn-jenkins-deploy-platform-ansible-os-2489-1.
2024-12-23 02:23:51,978 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/dccf1f60-13f9-4fea-b4a8-aa13c83146ea
2024-12-23 02:23:52,313 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/dccf1f60-13f9-4fea-b4a8-aa13c83146ea
2024-12-23 02:23:52,349 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/e15894f6-753e-4646-bc14-bd4a4aff8e3c
2024-12-23 02:23:55,603 - 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 1002ms')
2024-12-23 02:23:55,603 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60825939-35363978 failed!
2024-12-23 02:23:55,660 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60825939:ctest-vn-47992594 is 91.140.62.65 and allocation pool is NOT set
2024-12-23 02:23:57,721 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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 = 0.422/1.973/3.525/1.551 ms')
2024-12-23 02:23:57,721 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60825939-35363978 passed
2024-12-23 02:23:57,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 02:23:57,876 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60825939-35363978, IP 91.140.62.67, Port 22
2024-12-23 02:23:58,032 - DEBUG - VM ctest-TestRoutersBasic-60825939-35363978 is ready for SSH connections
2024-12-23 02:23:58,032 - INFO - Waiting for VM ctest-TestRoutersBasic-60825939-94948666 to be up..
2024-12-23 02:23:58,128 - DEBUG - VM is in ACTIVE state now
2024-12-23 02:23:58,128 - INFO - VM name : ctest-TestRoutersBasic-60825939-94948666
2024-12-23 02:23:58,211 - DEBUG - VM ctest-TestRoutersBasic-60825939-94948666 ID is a0945ffe-c413-4c7e-8ca9-a23157346592
2024-12-23 02:23:58,211 - DEBUG - VM ctest-TestRoutersBasic-60825939-94948666 launched on Node cn-jenkins-deploy-platform-ansible-os-2489-1.
2024-12-23 02:23:58,304 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a0945ffe-c413-4c7e-8ca9-a23157346592
2024-12-23 02:23:58,314 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c1b2a9a5-612a-42d3-9437-8df417c29162
2024-12-23 02:23:59,563 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 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 = 1.119/2.523/3.928/1.404 ms')
2024-12-23 02:23:59,563 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60825939-94948666 passed
2024-12-23 02:23:59,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 02:23:59,716 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60825939-94948666, IP 194.169.138.3, Port 22
2024-12-23 02:23:59,771 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2024-12-23 02:23:59,863 - DEBUG - VM ctest-TestRoutersBasic-60825939-94948666 is NOT ready for SSH connections, VM status: ACTIVE
2024-12-23 02:24:04,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 02:24:04,864 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60825939-94948666, IP 194.169.138.3, Port 22
2024-12-23 02:24:05,019 - DEBUG - VM ctest-TestRoutersBasic-60825939-94948666 is ready for SSH connections
2024-12-23 02:24:05,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 02:24:05,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.169.138.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2024-12-23 02:24:05,019 - DEBUG - ping -s 56 -c 3 -W 1 194.169.138.3
2024-12-23 02:24:08,780 - DEBUG - PING 194.169.138.3 (194.169.138.3): 56 data bytes
64 bytes from 194.169.138.3: seq=0 ttl=62 time=6.009 ms
64 bytes from 194.169.138.3: seq=1 ttl=62 time=1.069 ms
64 bytes from 194.169.138.3: seq=2 ttl=62 time=1.001 ms
--- 194.169.138.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.001/2.693/6.009 ms
2024-12-23 02:24:08,780 - INFO - Ping to IP 194.169.138.3 from VM ctest-TestRoutersBasic-60825939-35363978 passed
2024-12-23 02:24:08,780 - INFO - Deleting interface with subnet_id 8f5b7dae-160d-42b2-937e-2aaf9ed4cd7e, port_id None from router 15759f89-ade9-4644-8449-2705aa349564
2024-12-23 02:24:09,036 - INFO - Deleting VM ctest-TestRoutersBasic-60825939-94948666
2024-12-23 02:24:09,140 - INFO - Deleting VM ctest-TestRoutersBasic-60825939-35363978
2024-12-23 02:24:09,274 - INFO - Deleting VN ctest-ext_vn-78041423
2024-12-23 02:24:09,378 - DEBUG - VN 378bc2c3-a47a-4305-b6e4-152ff3096861 still in use: Unable to complete operation on network 378bc2c3-a47a-4305-b6e4-152ff3096861. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cf5e5057-98ac-4107-9d4e-f6b010359754']
2024-12-23 02:24:09,378 - WARNING - Deleting VN ctest-ext_vn-78041423 failed..Will retry
2024-12-23 02:24:11,499 - DEBUG - Response for deleting network ()
2024-12-23 02:24:11,500 - INFO - Deleting VN ctest-vn-47992594
2024-12-23 02:24:11,620 - DEBUG - Response for deleting network ()
2024-12-23 02:24:11,880 - DEBUG - No XMPP flaps were noticed during the test
2024-12-23 02:24:11,880 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2024-12-23 02:24:11,880 - INFO - --------------------------------------------------------------------------------
2024-12-23 02:24:12,612 - INFO - Deleted project: ctest-TestRoutersBasic-60825939, ID : c489d4e8-482c-4ae8-93c9-f56290d16d9e