2025-06-10 09:22:27,018 - INFO - Domain Default found not creating
2025-06-10 09:22:27,211 - INFO - Project ctest-TestBasicVMVNx-94899665 not found, creating it
2025-06-10 09:22:27,702 - INFO - Created Project:ctest-TestBasicVMVNx-94899665, ID : 7d5e91d3-b4b7-4329-9464-ce220933ee08
2025-06-10 09:22:29,317 - INFO - ================================================================================
2025-06-10 09:22:29,317 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-10 09:22:29,317 - INFO - TEST DESCRIPTION :
Description: Test to validate File Transfer using scp between VMs. Files of different sizes.
Test steps:
1. Creating vm's - vm1 and vm2 and a Vn - vn222
2. Transfer file from vm1 to vm2 with diferrent file sizes using scp
3. file sizes - 64,1202,2210,10000
4. verify files present in vm2 match with the size of the file sent.
Pass criteria: File in vm2 should match with the transferred file size from vm1
Maintainer : ganeshahv@juniper.net
2025-06-10 09:22:29,577 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with
2025-06-10 09:22:29,578 - INFO - Initial checks done. Running the testcase now
2025-06-10 09:22:29,578 - INFO -
2025-06-10 09:22:30,214 - DEBUG - Response for create_network : {'network': {'id': '917aa4ab-62b1-43b3-921e-a3bf383dd681', 'name': 'ctest-vn-90860008', 'tenant_id': '7d5e91d3b4b743299464ce220933ee08', 'project_id': '7d5e91d3b4b743299464ce220933ee08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-94899665', 'ctest-vn-90860008'], 'port_security_enabled': True, 'description': ''}}
2025-06-10 09:22:30,386 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdd1693f-0dc9-4a89-874b-0d893aa5ec72', 'name': '', 'tenant_id': '7d5e91d3b4b743299464ce220933ee08', 'network_id': '917aa4ab-62b1-43b3-921e-a3bf383dd681', 'ip_version': 4, 'cidr': '177.143.77.192/26', 'allocation_pools': [{'start': '177.143.77.194', 'end': '177.143.77.254'}], 'gateway_ip': '177.143.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.143.77.194', 'tags': [], 'project_id': '7d5e91d3b4b743299464ce220933ee08'}}
2025-06-10 09:22:30,413 - INFO - Created VN ctest-vn-90860008
2025-06-10 09:22:30,471 - DEBUG - VN ctest-vn-90860008 UUID is 917aa4ab-62b1-43b3-921e-a3bf383dd681
2025-06-10 09:22:30,641 - DEBUG - Services list from nova: [, , ]
2025-06-10 09:22:31,748 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3429-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3429-1)
2025-06-10 09:22:33,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3429-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3429-1)
2025-06-10 09:22:33,050 - INFO - Waiting for VM ctest-TestBasicVMVNx-94899665-98717821 to be up..
2025-06-10 09:22:33,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-10 09:22:38,288 - DEBUG - VM is in ACTIVE state now
2025-06-10 09:22:38,289 - INFO - VM name : ctest-TestBasicVMVNx-94899665-98717821
2025-06-10 09:22:38,369 - DEBUG - VM ctest-TestBasicVMVNx-94899665-98717821 ID is 483228f1-1d12-4002-8a11-eb261f047f37
2025-06-10 09:22:38,390 - DEBUG - VM ctest-TestBasicVMVNx-94899665-98717821 launched on Node cn-jenkins-deploy-platform-ansible-os-3429-1
2025-06-10 09:22:38,481 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/483228f1-1d12-4002-8a11-eb261f047f37
2025-06-10 09:22:38,825 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/483228f1-1d12-4002-8a11-eb261f047f37
2025-06-10 09:22:38,862 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/ade96472-1b42-4d63-909e-69610143edd5
2025-06-10 09:22:42,118 - 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 1014ms')
2025-06-10 09:22:42,118 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94899665-98717821 failed!
2025-06-10 09:22:42,179 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-94899665:ctest-vn-90860008 is 177.143.77.193 and allocation pool is NOT set
2025-06-10 09:22:44,244 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.266/3.237/4.209/0.971 ms')
2025-06-10 09:22:44,244 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94899665-98717821 passed
2025-06-10 09:22:44,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 09:22:44,400 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94899665-98717821, IP 177.143.77.195, Port 22
2025-06-10 09:22:44,455 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-06-10 09:22:44,541 - DEBUG - VM ctest-TestBasicVMVNx-94899665-98717821 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-10 09:22:49,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 09:22:49,542 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94899665-98717821, IP 177.143.77.195, Port 22
2025-06-10 09:22:49,699 - DEBUG - VM ctest-TestBasicVMVNx-94899665-98717821 is ready for SSH connections
2025-06-10 09:22:49,700 - INFO - Waiting for VM ctest-TestBasicVMVNx-94899665-46925175 to be up..
2025-06-10 09:22:49,781 - DEBUG - VM is in ACTIVE state now
2025-06-10 09:22:49,781 - INFO - VM name : ctest-TestBasicVMVNx-94899665-46925175
2025-06-10 09:22:49,858 - DEBUG - VM ctest-TestBasicVMVNx-94899665-46925175 ID is ae6739a8-5ff2-4405-ba5a-d631c477c9a6
2025-06-10 09:22:49,858 - DEBUG - VM ctest-TestBasicVMVNx-94899665-46925175 launched on Node cn-jenkins-deploy-platform-ansible-os-3429-1
2025-06-10 09:22:49,938 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/ae6739a8-5ff2-4405-ba5a-d631c477c9a6
2025-06-10 09:22:49,947 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/ce2851ed-2c3e-4ad2-abfc-c178feaf7cbb
2025-06-10 09:22:51,196 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.382/1.779/3.176/1.397 ms')
2025-06-10 09:22:51,196 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-94899665-46925175 passed
2025-06-10 09:22:51,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 09:22:51,351 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94899665-46925175, IP 177.143.77.196, Port 22
2025-06-10 09:22:51,507 - DEBUG - VM ctest-TestBasicVMVNx-94899665-46925175 is ready for SSH connections
2025-06-10 09:22:51,507 - DEBUG - FILE SIZE = 1303B
2025-06-10 09:22:51,507 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-94899665-98717821 to ctest-TestBasicVMVNx-94899665-46925175 using scp
2025-06-10 09:22:51,508 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-06-10 09:22:51,508 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-10 09:22:53,511 - DEBUG - 1+0 records in
1+0 records out
2025-06-10 09:22:54,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 09:22:54,536 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-06-10 09:22:54,536 - DEBUG - ls -l testfile
2025-06-10 09:22:56,147 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 10 03:22 [0;0mtestfile[0m
2025-06-10 09:22:56,147 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-94899665-46925175
2025-06-10 09:22:56,147 - INFO - Deleting VM ctest-TestBasicVMVNx-94899665-46925175
2025-06-10 09:22:56,217 - INFO - Deleting VM ctest-TestBasicVMVNx-94899665-98717821
2025-06-10 09:22:56,294 - INFO - Deleting VN ctest-vn-90860008
2025-06-10 09:22:56,337 - DEBUG - VN 917aa4ab-62b1-43b3-921e-a3bf383dd681 still in use: Unable to complete operation on network 917aa4ab-62b1-43b3-921e-a3bf383dd681. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-bab0bf89-7ff0-4cc4-b969-d7cbf8777b0c']
2025-06-10 09:22:56,337 - WARNING - Deleting VN ctest-vn-90860008 failed..Will retry
2025-06-10 09:22:58,449 - DEBUG - Response for deleting network ()
2025-06-10 09:22:58,715 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 09:22:58,715 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-06-10 09:22:58,715 - INFO - --------------------------------------------------------------------------------
2025-06-10 09:22:59,521 - INFO - Deleted project: ctest-TestBasicVMVNx-94899665, ID : 7d5e91d3-b4b7-4329-9464-ce220933ee08