2025-04-26 06:42:30,975 - INFO - Domain Default found not creating
2025-04-26 06:42:31,106 - INFO - Project ctest-TestBasicVMVNx-13812355 not found, creating it
2025-04-26 06:42:31,539 - INFO - Created Project:ctest-TestBasicVMVNx-13812355, ID : 9059dd85-f507-496d-8b9a-214b125b394c
2025-04-26 06:42:32,913 - INFO - ================================================================================
2025-04-26 06:42:32,913 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-26 06:42:32,913 - 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-04-26 06:42:33,176 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-04-26 06:42:33,176 - INFO - Initial checks done. Running the testcase now
2025-04-26 06:42:33,176 - INFO -
2025-04-26 06:42:33,723 - DEBUG - Response for create_network : {'network': {'id': '6745f615-4c71-446c-acdf-8d6fdfe634aa', 'name': 'ctest-vn-07307810', 'tenant_id': '9059dd85f507496d8b9a214b125b394c', 'project_id': '9059dd85f507496d8b9a214b125b394c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-13812355', 'ctest-vn-07307810'], 'port_security_enabled': True, 'description': ''}}
2025-04-26 06:42:33,943 - DEBUG - Response for create_subnet : {'subnet': {'id': '91870c35-c02b-4ac8-b1a5-cc596881a791', 'name': '', 'tenant_id': '9059dd85f507496d8b9a214b125b394c', 'network_id': '6745f615-4c71-446c-acdf-8d6fdfe634aa', 'ip_version': 4, 'cidr': '84.218.111.128/26', 'allocation_pools': [{'start': '84.218.111.130', 'end': '84.218.111.190'}], 'gateway_ip': '84.218.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.218.111.130', 'tags': [], 'project_id': '9059dd85f507496d8b9a214b125b394c'}}
2025-04-26 06:42:33,962 - INFO - Created VN ctest-vn-07307810
2025-04-26 06:42:34,014 - DEBUG - VN ctest-vn-07307810 UUID is 6745f615-4c71-446c-acdf-8d6fdfe634aa
2025-04-26 06:42:34,215 - DEBUG - Services list from nova: [, , ]
2025-04-26 06:42:35,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3218-1)
2025-04-26 06:42:36,398 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3218-1)
2025-04-26 06:42:36,398 - INFO - Waiting for VM ctest-TestBasicVMVNx-13812355-47730547 to be up..
2025-04-26 06:42:36,498 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-26 06:42:41,580 - DEBUG - VM is in ACTIVE state now
2025-04-26 06:42:41,580 - INFO - VM name : ctest-TestBasicVMVNx-13812355-47730547
2025-04-26 06:42:41,656 - DEBUG - VM ctest-TestBasicVMVNx-13812355-47730547 ID is 631dd58d-e5a7-45ce-af8e-5d6ee2cbb4d1
2025-04-26 06:42:41,675 - DEBUG - VM ctest-TestBasicVMVNx-13812355-47730547 launched on Node cn-jenkins-deploy-platform-ansible-os-3218-1
2025-04-26 06:42:41,745 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/631dd58d-e5a7-45ce-af8e-5d6ee2cbb4d1
2025-04-26 06:42:42,034 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/631dd58d-e5a7-45ce-af8e-5d6ee2cbb4d1
2025-04-26 06:42:42,070 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c8fac8ae-5a00-4ff4-bb94-9e4491101e77
2025-04-26 06:42:45,337 - 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 1011ms')
2025-04-26 06:42:45,337 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13812355-47730547 failed!
2025-04-26 06:42:45,390 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-13812355:ctest-vn-07307810 is 84.218.111.129 and allocation pool is NOT set
2025-04-26 06:42:47,452 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 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.482/2.318/4.154/1.836 ms')
2025-04-26 06:42:47,452 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13812355-47730547 passed
2025-04-26 06:42:47,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 06:42:47,611 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13812355-47730547, IP 84.218.111.131, Port 22
2025-04-26 06:42:47,767 - DEBUG - VM ctest-TestBasicVMVNx-13812355-47730547 is ready for SSH connections
2025-04-26 06:42:47,767 - INFO - Waiting for VM ctest-TestBasicVMVNx-13812355-10543777 to be up..
2025-04-26 06:42:47,854 - DEBUG - VM is in ACTIVE state now
2025-04-26 06:42:47,854 - INFO - VM name : ctest-TestBasicVMVNx-13812355-10543777
2025-04-26 06:42:47,931 - DEBUG - VM ctest-TestBasicVMVNx-13812355-10543777 ID is 9326ff2a-1b10-4375-bec4-ef90828e8d89
2025-04-26 06:42:47,931 - DEBUG - VM ctest-TestBasicVMVNx-13812355-10543777 launched on Node cn-jenkins-deploy-platform-ansible-os-3218-1
2025-04-26 06:42:48,005 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9326ff2a-1b10-4375-bec4-ef90828e8d89
2025-04-26 06:42:48,013 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cb3c9000-ee55-41f1-b24f-93474273e77f
2025-04-26 06:42:49,258 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/1.630/2.824/1.193 ms')
2025-04-26 06:42:49,258 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-13812355-10543777 passed
2025-04-26 06:42:49,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 06:42:49,415 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13812355-10543777, IP 84.218.111.132, Port 22
2025-04-26 06:42:49,574 - DEBUG - VM ctest-TestBasicVMVNx-13812355-10543777 is ready for SSH connections
2025-04-26 06:42:49,574 - DEBUG - FILE SIZE = 1303B
2025-04-26 06:42:49,574 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-13812355-47730547 to ctest-TestBasicVMVNx-13812355-10543777 using scp
2025-04-26 06:42:49,575 - 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.254, gateway password: c0ntrail123
2025-04-26 06:42:49,575 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-26 06:42:51,464 - DEBUG - 1+0 records in
1+0 records out
2025-04-26 06:42:52,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-26 06:42:52,384 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-04-26 06:42:52,385 - DEBUG - ls -l testfile
2025-04-26 06:42:53,994 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 26 00:42 [0;0mtestfile[0m
2025-04-26 06:42:53,995 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-13812355-10543777
2025-04-26 06:42:53,995 - INFO - Deleting VM ctest-TestBasicVMVNx-13812355-10543777
2025-04-26 06:42:54,064 - INFO - Deleting VM ctest-TestBasicVMVNx-13812355-47730547
2025-04-26 06:42:54,131 - INFO - Deleting VN ctest-vn-07307810
2025-04-26 06:42:54,169 - DEBUG - VN 6745f615-4c71-446c-acdf-8d6fdfe634aa still in use: Unable to complete operation on network 6745f615-4c71-446c-acdf-8d6fdfe634aa. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0a217524-3cff-4cb3-a322-5b387c8164e8']
2025-04-26 06:42:54,169 - WARNING - Deleting VN ctest-vn-07307810 failed..Will retry
2025-04-26 06:42:56,282 - DEBUG - Response for deleting network ()
2025-04-26 06:42:56,541 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 06:42:56,541 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-26 06:42:56,541 - INFO - --------------------------------------------------------------------------------
2025-04-26 06:42:57,212 - INFO - Deleted project: ctest-TestBasicVMVNx-13812355, ID : 9059dd85-f507-496d-8b9a-214b125b394c