2025-07-18 15:05:45,835 - INFO - Domain Default found not creating
2025-07-18 15:05:46,094 - INFO - Project ctest-TestBasicVMVNx-97349196 not found, creating it
2025-07-18 15:05:47,105 - INFO - Created Project:ctest-TestBasicVMVNx-97349196, ID : 59cd370a-e635-44ee-8204-f320111bdfd5
2025-07-18 15:05:49,093 - INFO - ================================================================================
2025-07-18 15:05:49,093 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-07-18 15:05:49,094 - 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-07-18 15:05:49,417 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-18 15:05:49,417 - INFO - Initial checks done. Running the testcase now
2025-07-18 15:05:49,417 - INFO -
2025-07-18 15:05:50,287 - DEBUG - Response for create_network : {'network': {'id': '2361ad5e-992e-4573-9a59-0c815ffff035', 'name': 'ctest-vn-27930074', 'tenant_id': '59cd370ae63544ee8204f320111bdfd5', 'project_id': '59cd370ae63544ee8204f320111bdfd5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-97349196', 'ctest-vn-27930074'], 'port_security_enabled': True, 'description': ''}}
2025-07-18 15:05:50,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '63f70c55-6e10-47ea-aee2-16e081fa3e50', 'name': '', 'tenant_id': '59cd370ae63544ee8204f320111bdfd5', 'network_id': '2361ad5e-992e-4573-9a59-0c815ffff035', 'ip_version': 4, 'cidr': '208.7.63.64/26', 'allocation_pools': [{'start': '208.7.63.66', 'end': '208.7.63.126'}], 'gateway_ip': '208.7.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.7.63.66', 'tags': [], 'project_id': '59cd370ae63544ee8204f320111bdfd5'}}
2025-07-18 15:05:50,594 - INFO - Created VN ctest-vn-27930074
2025-07-18 15:05:50,647 - DEBUG - VN ctest-vn-27930074 UUID is 2361ad5e-992e-4573-9a59-0c815ffff035
2025-07-18 15:05:50,894 - DEBUG - Services list from nova: [, , ]
2025-07-18 15:05:52,359 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3662-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3662-1)
2025-07-18 15:05:53,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3662-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3662-1)
2025-07-18 15:05:53,721 - INFO - Waiting for VM ctest-TestBasicVMVNx-97349196-74970775 to be up..
2025-07-18 15:05:53,800 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-18 15:05:59,007 - DEBUG - VM is in ACTIVE state now
2025-07-18 15:05:59,008 - INFO - VM name : ctest-TestBasicVMVNx-97349196-74970775
2025-07-18 15:05:59,230 - DEBUG - VM ctest-TestBasicVMVNx-97349196-74970775 ID is 2b6bf183-99e0-4435-b795-a6c4a263ddf0
2025-07-18 15:05:59,279 - DEBUG - VM ctest-TestBasicVMVNx-97349196-74970775 launched on Node cn-jenkins-deploy-platform-ansible-os-3662-1
2025-07-18 15:05:59,445 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2b6bf183-99e0-4435-b795-a6c4a263ddf0
2025-07-18 15:05:59,788 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2b6bf183-99e0-4435-b795-a6c4a263ddf0
2025-07-18 15:05:59,869 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dde2fae0-8d7d-4dc5-85e3-416c8210edcd
2025-07-18 15:06:03,166 - 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 1024ms')
2025-07-18 15:06:03,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97349196-74970775 failed!
2025-07-18 15:06:03,219 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-97349196:ctest-vn-27930074 is 208.7.63.65 and allocation pool is NOT set
2025-07-18 15:06:05,301 - 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=13.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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.803/7.850/13.897/6.047 ms')
2025-07-18 15:06:05,301 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97349196-74970775 passed
2025-07-18 15:06:05,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 15:06:05,489 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97349196-74970775, IP 208.7.63.67, Port 22
2025-07-18 15:06:05,687 - DEBUG - VM ctest-TestBasicVMVNx-97349196-74970775 is ready for SSH connections
2025-07-18 15:06:05,687 - INFO - Waiting for VM ctest-TestBasicVMVNx-97349196-04647780 to be up..
2025-07-18 15:06:05,861 - DEBUG - VM is in ACTIVE state now
2025-07-18 15:06:05,861 - INFO - VM name : ctest-TestBasicVMVNx-97349196-04647780
2025-07-18 15:06:06,022 - DEBUG - VM ctest-TestBasicVMVNx-97349196-04647780 ID is 401d041d-f241-4a67-af9e-f0b358f154ab
2025-07-18 15:06:06,022 - DEBUG - VM ctest-TestBasicVMVNx-97349196-04647780 launched on Node cn-jenkins-deploy-platform-ansible-os-3662-1
2025-07-18 15:06:06,172 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/401d041d-f241-4a67-af9e-f0b358f154ab
2025-07-18 15:06:06,187 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/73c0cebe-8686-446c-b2ea-c998ca58b946
2025-07-18 15:06:07,537 - 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=6.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.729 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.729/3.406/6.084/2.677 ms')
2025-07-18 15:06:07,537 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-97349196-04647780 passed
2025-07-18 15:06:07,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 15:06:07,732 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97349196-04647780, IP 208.7.63.68, Port 22
2025-07-18 15:06:07,943 - DEBUG - VM ctest-TestBasicVMVNx-97349196-04647780 is ready for SSH connections
2025-07-18 15:06:07,944 - DEBUG - FILE SIZE = 1303B
2025-07-18 15:06:07,944 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-97349196-74970775 to ctest-TestBasicVMVNx-97349196-04647780 using scp
2025-07-18 15:06:07,946 - 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-07-18 15:06:07,946 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-07-18 15:06:10,439 - DEBUG - 1+0 records in
1+0 records out
2025-07-18 15:06:11,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-18 15:06:11,669 - 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-07-18 15:06:11,670 - DEBUG - ls -l testfile
2025-07-18 15:06:13,474 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 18 09:06 [0;0mtestfile[0m
2025-07-18 15:06:13,474 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-97349196-04647780
2025-07-18 15:06:13,475 - INFO - Deleting VM ctest-TestBasicVMVNx-97349196-04647780
2025-07-18 15:06:13,632 - INFO - Deleting VM ctest-TestBasicVMVNx-97349196-74970775
2025-07-18 15:06:13,753 - INFO - Deleting VN ctest-vn-27930074
2025-07-18 15:06:13,845 - DEBUG - VN 2361ad5e-992e-4573-9a59-0c815ffff035 still in use: Unable to complete operation on network 2361ad5e-992e-4573-9a59-0c815ffff035. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fda43781-2f28-42ea-a61c-747fd183db32']
2025-07-18 15:06:13,846 - WARNING - Deleting VN ctest-vn-27930074 failed..Will retry
2025-07-18 15:06:16,093 - DEBUG - Response for deleting network ()
2025-07-18 15:06:16,408 - DEBUG - No XMPP flaps were noticed during the test
2025-07-18 15:06:16,408 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:27]
2025-07-18 15:06:16,409 - INFO - --------------------------------------------------------------------------------
2025-07-18 15:06:17,323 - INFO - Deleted project: ctest-TestBasicVMVNx-97349196, ID : 59cd370a-e635-44ee-8204-f320111bdfd5