2024-11-06 17:57:23,461 - INFO - Domain Default found not creating
2024-11-06 17:57:23,625 - INFO - Project ctest-TestRoutersBasic-60213551 not found, creating it
2024-11-06 17:57:24,149 - INFO - Created Project:ctest-TestRoutersBasic-60213551, ID : 303eab03-dcbc-4197-bb2e-d70d823e0ed9
2024-11-06 17:57:25,683 - INFO - ================================================================================
2024-11-06 17:57:25,683 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-11-06 17:57:25,683 - 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-11-06 17:57:25,939 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.6': '0'}} with
2024-11-06 17:57:25,939 - INFO - Initial checks done. Running the testcase now
2024-11-06 17:57:25,941 - INFO -
2024-11-06 17:57:26,699 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60213551
2024-11-06 17:57:26,803 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60213551
2024-11-06 17:57:27,150 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60213551', 'default']}
2024-11-06 17:57:27,523 - DEBUG - Response for create_network : {'network': {'id': '707f1e51-d1a8-463c-bc8d-47b7629b95c0', 'name': 'ctest-vn-65663075', 'tenant_id': '303eab03dcbc4197bb2ed70d823e0ed9', 'project_id': '303eab03dcbc4197bb2ed70d823e0ed9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60213551', 'ctest-vn-65663075'], 'port_security_enabled': True, 'description': ''}}
2024-11-06 17:57:27,709 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a06a840-881e-4e30-8f63-e0ae2a6620c6', 'name': '', 'tenant_id': '303eab03dcbc4197bb2ed70d823e0ed9', 'network_id': '707f1e51-d1a8-463c-bc8d-47b7629b95c0', 'ip_version': 4, 'cidr': '162.167.115.192/26', 'allocation_pools': [{'start': '162.167.115.194', 'end': '162.167.115.254'}], 'gateway_ip': '162.167.115.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.167.115.194', 'tags': [], 'project_id': '303eab03dcbc4197bb2ed70d823e0ed9'}}
2024-11-06 17:57:27,731 - INFO - Created VN ctest-vn-65663075
2024-11-06 17:57:27,787 - DEBUG - VN ctest-vn-65663075 UUID is 707f1e51-d1a8-463c-bc8d-47b7629b95c0
2024-11-06 17:57:28,160 - DEBUG - Response for create_network : {'network': {'id': '3c611a78-549a-4613-8f80-fb9f269685d2', 'name': 'ctest-ext_vn-01716267', 'tenant_id': '303eab03dcbc4197bb2ed70d823e0ed9', 'project_id': '303eab03dcbc4197bb2ed70d823e0ed9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60213551', 'ctest-ext_vn-01716267'], 'port_security_enabled': True, 'description': ''}}
2024-11-06 17:57:28,404 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df5b929f-7330-4b6e-b870-4d7e44f9503d', 'name': '', 'tenant_id': '303eab03dcbc4197bb2ed70d823e0ed9', 'network_id': '3c611a78-549a-4613-8f80-fb9f269685d2', 'ip_version': 4, 'cidr': '86.47.212.192/26', 'allocation_pools': [{'start': '86.47.212.194', 'end': '86.47.212.254'}], 'gateway_ip': '86.47.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.47.212.194', 'tags': [], 'project_id': '303eab03dcbc4197bb2ed70d823e0ed9'}}
2024-11-06 17:57:28,426 - INFO - Created VN ctest-ext_vn-01716267
2024-11-06 17:57:28,482 - DEBUG - VN ctest-ext_vn-01716267 UUID is 3c611a78-549a-4613-8f80-fb9f269685d2
2024-11-06 17:57:28,665 - DEBUG - Services list from nova: [, , ]
2024-11-06 17:57:29,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2203-1)
2024-11-06 17:57:31,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2203-1)
2024-11-06 17:57:31,192 - INFO - Setting gateway for router e5e5fcdf-8a7a-41f0-b8d4-113d56aed43e to network 3c611a78-549a-4613-8f80-fb9f269685d2
2024-11-06 17:57:31,264 - INFO - Adding interface with subnet_id 4a06a840-881e-4e30-8f63-e0ae2a6620c6, port_id None to router e5e5fcdf-8a7a-41f0-b8d4-113d56aed43e
2024-11-06 17:57:31,612 - INFO - Waiting for VM ctest-TestRoutersBasic-60213551-36727785 to be up..
2024-11-06 17:57:31,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-06 17:57:36,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-06 17:57:41,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-06 17:57:47,089 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-11-06 17:57:52,192 - DEBUG - VM is in ACTIVE state now
2024-11-06 17:57:52,193 - INFO - VM name : ctest-TestRoutersBasic-60213551-36727785
2024-11-06 17:57:52,300 - DEBUG - VM ctest-TestRoutersBasic-60213551-36727785 ID is 6e9d1f61-447c-4436-aedc-759ad429f981
2024-11-06 17:57:52,320 - DEBUG - VM ctest-TestRoutersBasic-60213551-36727785 launched on Node cn-jenkins-deploy-platform-ansible-os-2203-1
2024-11-06 17:57:52,412 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/6e9d1f61-447c-4436-aedc-759ad429f981
2024-11-06 17:57:52,712 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/6e9d1f61-447c-4436-aedc-759ad429f981
2024-11-06 17:57:52,748 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/bb4bbda1-f075-46f1-af5f-b5efa9ce0e29
2024-11-06 17:57:56,012 - 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 1009ms')
2024-11-06 17:57:56,012 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60213551-36727785 failed!
2024-11-06 17:57:56,071 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60213551:ctest-vn-65663075 is 162.167.115.193 and allocation pool is NOT set
2024-11-06 17:57:58,134 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.740 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.740/2.226/3.712/1.486 ms')
2024-11-06 17:57:58,135 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60213551-36727785 passed
2024-11-06 17:57:58,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-06 17:57:58,295 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60213551-36727785, IP 162.167.115.195, Port 22
2024-11-06 17:57:58,461 - DEBUG - VM ctest-TestRoutersBasic-60213551-36727785 is ready for SSH connections
2024-11-06 17:57:58,461 - INFO - Waiting for VM ctest-TestRoutersBasic-60213551-91464943 to be up..
2024-11-06 17:57:58,546 - DEBUG - VM is in ACTIVE state now
2024-11-06 17:57:58,546 - INFO - VM name : ctest-TestRoutersBasic-60213551-91464943
2024-11-06 17:57:58,645 - DEBUG - VM ctest-TestRoutersBasic-60213551-91464943 ID is 353ac491-4664-4858-81dd-e4d48bea2479
2024-11-06 17:57:58,646 - DEBUG - VM ctest-TestRoutersBasic-60213551-91464943 launched on Node cn-jenkins-deploy-platform-ansible-os-2203-1
2024-11-06 17:57:58,752 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/353ac491-4664-4858-81dd-e4d48bea2479
2024-11-06 17:57:58,765 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/8da0c1f9-f02e-40e4-bc86-8d7f24a052cb
2024-11-06 17:58:00,032 - 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=4.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.38 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 = 1.380/2.995/4.610/1.615 ms')
2024-11-06 17:58:00,032 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60213551-91464943 passed
2024-11-06 17:58:00,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-06 17:58:00,195 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60213551-91464943, IP 86.47.212.195, Port 22
2024-11-06 17:58:00,260 - 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-11-06 17:58:00,348 - DEBUG - VM ctest-TestRoutersBasic-60213551-91464943 is NOT ready for SSH connections, VM status: ACTIVE
2024-11-06 17:58:05,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-06 17:58:05,349 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60213551-91464943, IP 86.47.212.195, Port 22
2024-11-06 17:58:05,506 - DEBUG - VM ctest-TestRoutersBasic-60213551-91464943 is ready for SSH connections
2024-11-06 17:58:05,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-11-06 17:58:05,507 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.47.212.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2024-11-06 17:58:05,507 - DEBUG - ping -s 56 -c 3 -W 1 86.47.212.195
2024-11-06 17:58:09,195 - DEBUG - PING 86.47.212.195 (86.47.212.195): 56 data bytes
64 bytes from 86.47.212.195: seq=0 ttl=62 time=5.179 ms
64 bytes from 86.47.212.195: seq=1 ttl=62 time=0.986 ms
64 bytes from 86.47.212.195: seq=2 ttl=62 time=1.016 ms
--- 86.47.212.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.986/2.393/5.179 ms
2024-11-06 17:58:09,195 - INFO - Ping to IP 86.47.212.195 from VM ctest-TestRoutersBasic-60213551-36727785 passed
2024-11-06 17:58:09,195 - INFO - Deleting interface with subnet_id 4a06a840-881e-4e30-8f63-e0ae2a6620c6, port_id None from router e5e5fcdf-8a7a-41f0-b8d4-113d56aed43e
2024-11-06 17:58:09,416 - INFO - Deleting VM ctest-TestRoutersBasic-60213551-91464943
2024-11-06 17:58:09,487 - INFO - Deleting VM ctest-TestRoutersBasic-60213551-36727785
2024-11-06 17:58:09,556 - INFO - Deleting VN ctest-ext_vn-01716267
2024-11-06 17:58:09,640 - DEBUG - VN 3c611a78-549a-4613-8f80-fb9f269685d2 still in use: Unable to complete operation on network 3c611a78-549a-4613-8f80-fb9f269685d2. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-00e4f549-77d0-463c-aa2b-da66188338e5']
2024-11-06 17:58:09,640 - WARNING - Deleting VN ctest-ext_vn-01716267 failed..Will retry
2024-11-06 17:58:11,788 - DEBUG - Response for deleting network ()
2024-11-06 17:58:11,789 - INFO - Deleting VN ctest-vn-65663075
2024-11-06 17:58:11,943 - DEBUG - Response for deleting network ()
2024-11-06 17:58:12,204 - DEBUG - No XMPP flaps were noticed during the test
2024-11-06 17:58:12,204 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:47]
2024-11-06 17:58:12,204 - INFO - --------------------------------------------------------------------------------
2024-11-06 17:58:12,892 - INFO - Deleted project: ctest-TestRoutersBasic-60213551, ID : 303eab03-dcbc-4197-bb2e-d70d823e0ed9