2025-01-16 02:30:23,853 - INFO - Domain Default found not creating
2025-01-16 02:30:23,991 - INFO - Project ctest-TestBasicVMVNx-84806515 not found, creating it
2025-01-16 02:30:24,415 - INFO - Created Project:ctest-TestBasicVMVNx-84806515, ID : 64c0e4a1-d341-4150-83d0-a861bd98e054
2025-01-16 02:30:25,805 - INFO - ================================================================================
2025-01-16 02:30:25,805 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-16 02:30:25,805 - 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-01-16 02:30:26,064 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.19': '0'}} with
2025-01-16 02:30:26,065 - INFO - Initial checks done. Running the testcase now
2025-01-16 02:30:26,065 - INFO -
2025-01-16 02:30:26,596 - DEBUG - Response for create_network : {'network': {'id': 'd5f9e3ab-cd39-49c2-aa3f-e8324c5a433e', 'name': 'ctest-vn-42443641', 'tenant_id': '64c0e4a1d341415083d0a861bd98e054', 'project_id': '64c0e4a1d341415083d0a861bd98e054', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-84806515', 'ctest-vn-42443641'], 'port_security_enabled': True, 'description': ''}}
2025-01-16 02:30:26,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '5480c020-295e-4362-86cc-a95409bb2237', 'name': '', 'tenant_id': '64c0e4a1d341415083d0a861bd98e054', 'network_id': 'd5f9e3ab-cd39-49c2-aa3f-e8324c5a433e', 'ip_version': 4, 'cidr': '80.140.115.64/26', 'allocation_pools': [{'start': '80.140.115.66', 'end': '80.140.115.126'}], 'gateway_ip': '80.140.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.140.115.66', 'tags': [], 'project_id': '64c0e4a1d341415083d0a861bd98e054'}}
2025-01-16 02:30:26,796 - INFO - Created VN ctest-vn-42443641
2025-01-16 02:30:26,846 - DEBUG - VN ctest-vn-42443641 UUID is d5f9e3ab-cd39-49c2-aa3f-e8324c5a433e
2025-01-16 02:30:27,042 - DEBUG - Services list from nova: [, , ]
2025-01-16 02:30:28,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2647-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2647-1)
2025-01-16 02:30:29,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2647-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2647-1)
2025-01-16 02:30:29,123 - INFO - Waiting for VM ctest-TestBasicVMVNx-84806515-28815383 to be up..
2025-01-16 02:30:29,204 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-16 02:30:34,276 - DEBUG - VM is in ACTIVE state now
2025-01-16 02:30:34,276 - INFO - VM name : ctest-TestBasicVMVNx-84806515-28815383
2025-01-16 02:30:34,347 - DEBUG - VM ctest-TestBasicVMVNx-84806515-28815383 ID is da399b89-2e1c-4637-8b12-8c49dc27fb92
2025-01-16 02:30:34,366 - DEBUG - VM ctest-TestBasicVMVNx-84806515-28815383 launched on Node cn-jenkins-deploy-platform-ansible-os-2647-1
2025-01-16 02:30:34,435 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/da399b89-2e1c-4637-8b12-8c49dc27fb92
2025-01-16 02:30:34,726 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/da399b89-2e1c-4637-8b12-8c49dc27fb92
2025-01-16 02:30:34,757 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/6d39121f-dba3-412d-9f7d-6a21aefde14a
2025-01-16 02:30:38,004 - 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 1007ms')
2025-01-16 02:30:38,004 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84806515-28815383 failed!
2025-01-16 02:30:38,058 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-84806515:ctest-vn-42443641 is 80.140.115.65 and allocation pool is NOT set
2025-01-16 02:30:40,124 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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 = 1.156/2.680/4.204/1.524 ms')
2025-01-16 02:30:40,125 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-84806515-28815383 passed
2025-01-16 02:30:40,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-16 02:30:40,278 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84806515-28815383, IP 80.140.115.67, Port 22
2025-01-16 02:30:40,333 - 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-01-16 02:30:40,406 - DEBUG - VM ctest-TestBasicVMVNx-84806515-28815383 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-16 02:30:45,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-16 02:30:45,407 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84806515-28815383, IP 80.140.115.67, Port 22
2025-01-16 02:30:45,557 - DEBUG - VM ctest-TestBasicVMVNx-84806515-28815383 is ready for SSH connections
2025-01-16 02:30:45,558 - INFO - Waiting for VM ctest-TestBasicVMVNx-84806515-83095316 to be up..
2025-01-16 02:30:45,632 - DEBUG - VM is in ACTIVE state now
2025-01-16 02:30:45,632 - INFO - VM name : ctest-TestBasicVMVNx-84806515-83095316
2025-01-16 02:30:45,712 - DEBUG - VM ctest-TestBasicVMVNx-84806515-83095316 ID is 78fdd2e7-833f-4ca9-8b4e-9bfe8b1658f3
2025-01-16 02:30:45,712 - DEBUG - VM ctest-TestBasicVMVNx-84806515-83095316 launched on Node cn-jenkins-deploy-platform-ansible-os-2647-1
2025-01-16 02:30:45,788 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/78fdd2e7-833f-4ca9-8b4e-9bfe8b1658f3
2025-01-16 02:30:45,797 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/8ed86784-5b0b-41d7-a8ba-9eb9ab309edb
2025-01-16 02:30:47,027 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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 = 0.403/1.575/2.748/1.172 ms')
2025-01-16 02:30:47,027 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-84806515-83095316 passed
2025-01-16 02:30:47,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-16 02:30:47,178 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-84806515-83095316, IP 80.140.115.68, Port 22
2025-01-16 02:30:47,362 - DEBUG - VM ctest-TestBasicVMVNx-84806515-83095316 is ready for SSH connections
2025-01-16 02:30:47,362 - DEBUG - FILE SIZE = 1303B
2025-01-16 02:30:47,362 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-84806515-28815383 to ctest-TestBasicVMVNx-84806515-83095316 using scp
2025-01-16 02:30:47,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-16 02:30:47,367 - 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.44, gateway password: c0ntrail123
2025-01-16 02:30:47,368 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-16 02:30:49,228 - DEBUG - 1+0 records in
1+0 records out
2025-01-16 02:30:49,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-16 02:30:50,123 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123
2025-01-16 02:30:50,123 - DEBUG - ls -l testfile
2025-01-16 02:30:51,684 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 15 19:30 [0;0mtestfile[0m
2025-01-16 02:30:51,684 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-84806515-83095316
2025-01-16 02:30:51,684 - INFO - Deleting VM ctest-TestBasicVMVNx-84806515-83095316
2025-01-16 02:30:51,743 - INFO - Deleting VM ctest-TestBasicVMVNx-84806515-28815383
2025-01-16 02:30:51,808 - INFO - Deleting VN ctest-vn-42443641
2025-01-16 02:30:51,839 - DEBUG - VN d5f9e3ab-cd39-49c2-aa3f-e8324c5a433e still in use: Unable to complete operation on network d5f9e3ab-cd39-49c2-aa3f-e8324c5a433e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f7901e2d-13e6-42fe-b0e8-32d15fdb38b4']
2025-01-16 02:30:51,839 - WARNING - Deleting VN ctest-vn-42443641 failed..Will retry
2025-01-16 02:30:53,933 - DEBUG - Response for deleting network ()
2025-01-16 02:30:54,188 - DEBUG - No XMPP flaps were noticed during the test
2025-01-16 02:30:54,188 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-01-16 02:30:54,188 - INFO - --------------------------------------------------------------------------------
2025-01-16 02:30:55,142 - INFO - Deleted project: ctest-TestBasicVMVNx-84806515, ID : 64c0e4a1-d341-4150-83d0-a861bd98e054