2025-10-27 15:03:06,908 - INFO - Domain Default found not creating
2025-10-27 15:03:07,069 - INFO - Project ctest-TestBasicVMVNx-43465591 not found, creating it
2025-10-27 15:03:07,548 - INFO - Created Project:ctest-TestBasicVMVNx-43465591, ID : c3d6f90a-49b8-4ad4-bb64-c27209d690c6
2025-10-27 15:03:09,356 - INFO - ================================================================================
2025-10-27 15:03:09,356 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-27 15:03:09,356 - 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-10-27 15:03:09,616 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2025-10-27 15:03:09,616 - INFO - Initial checks done. Running the testcase now
2025-10-27 15:03:09,616 - INFO -
2025-10-27 15:03:10,199 - DEBUG - Response for create_network : {'network': {'id': '7ad6613e-fb1e-48c5-bdb3-6917d515c6a3', 'name': 'ctest-vn-50927559', 'tenant_id': 'c3d6f90a49b84ad4bb64c27209d690c6', 'project_id': 'c3d6f90a49b84ad4bb64c27209d690c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-43465591', 'ctest-vn-50927559'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 15:03:10,360 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3705736-6d32-47b9-af7d-02eaaac0b220', 'name': '', 'tenant_id': 'c3d6f90a49b84ad4bb64c27209d690c6', 'network_id': '7ad6613e-fb1e-48c5-bdb3-6917d515c6a3', 'ip_version': 4, 'cidr': '152.242.112.128/26', 'allocation_pools': [{'start': '152.242.112.130', 'end': '152.242.112.190'}], 'gateway_ip': '152.242.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.242.112.130', 'tags': [], 'project_id': 'c3d6f90a49b84ad4bb64c27209d690c6'}}
2025-10-27 15:03:10,383 - INFO - Created VN ctest-vn-50927559
2025-10-27 15:03:10,438 - DEBUG - VN ctest-vn-50927559 UUID is 7ad6613e-fb1e-48c5-bdb3-6917d515c6a3
2025-10-27 15:03:10,607 - DEBUG - Services list from nova: [, , ]
2025-10-27 15:03:11,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4505-1)
2025-10-27 15:03:12,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4505-1)
2025-10-27 15:03:12,982 - INFO - Waiting for VM ctest-TestBasicVMVNx-43465591-55011659 to be up..
2025-10-27 15:03:13,091 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 15:03:18,170 - DEBUG - VM is in ACTIVE state now
2025-10-27 15:03:18,170 - INFO - VM name : ctest-TestBasicVMVNx-43465591-55011659
2025-10-27 15:03:18,248 - DEBUG - VM ctest-TestBasicVMVNx-43465591-55011659 ID is b237f8bb-4d51-4e84-9bdd-ee51b3d824c6
2025-10-27 15:03:18,269 - DEBUG - VM ctest-TestBasicVMVNx-43465591-55011659 launched on Node cn-jenkins-deploy-platform-ansible-os-4505-1
2025-10-27 15:03:18,345 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b237f8bb-4d51-4e84-9bdd-ee51b3d824c6
2025-10-27 15:03:18,683 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b237f8bb-4d51-4e84-9bdd-ee51b3d824c6
2025-10-27 15:03:18,717 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/455292f3-d019-4942-9845-4903ad2b0362
2025-10-27 15:03:21,974 - 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 1023ms')
2025-10-27 15:03:21,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43465591-55011659 failed!
2025-10-27 15:03:22,031 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-43465591:ctest-vn-50927559 is 152.242.112.129 and allocation pool is NOT set
2025-10-27 15:03:24,099 - 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=10.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.06 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 = 2.061/6.483/10.906/4.422 ms')
2025-10-27 15:03:24,099 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43465591-55011659 passed
2025-10-27 15:03:24,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 15:03:24,247 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43465591-55011659, IP 152.242.112.131, Port 22
2025-10-27 15:03:24,416 - DEBUG - VM ctest-TestBasicVMVNx-43465591-55011659 is ready for SSH connections
2025-10-27 15:03:24,416 - INFO - Waiting for VM ctest-TestBasicVMVNx-43465591-03319800 to be up..
2025-10-27 15:03:24,514 - DEBUG - VM is in ACTIVE state now
2025-10-27 15:03:24,514 - INFO - VM name : ctest-TestBasicVMVNx-43465591-03319800
2025-10-27 15:03:24,603 - DEBUG - VM ctest-TestBasicVMVNx-43465591-03319800 ID is 46587059-51eb-4cca-b61b-b2e59ed7126f
2025-10-27 15:03:24,603 - DEBUG - VM ctest-TestBasicVMVNx-43465591-03319800 launched on Node cn-jenkins-deploy-platform-ansible-os-4505-1
2025-10-27 15:03:24,690 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/46587059-51eb-4cca-b61b-b2e59ed7126f
2025-10-27 15:03:24,698 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5b64ce4c-a8a2-4765-9447-3b794dc26f92
2025-10-27 15:03:25,939 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.815 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.815/2.693/4.572/1.878 ms')
2025-10-27 15:03:25,939 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-43465591-03319800 passed
2025-10-27 15:03:26,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 15:03:26,087 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43465591-03319800, IP 152.242.112.132, Port 22
2025-10-27 15:03:26,242 - DEBUG - VM ctest-TestBasicVMVNx-43465591-03319800 is ready for SSH connections
2025-10-27 15:03:26,242 - DEBUG - FILE SIZE = 1303B
2025-10-27 15:03:26,242 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-43465591-55011659 to ctest-TestBasicVMVNx-43465591-03319800 using scp
2025-10-27 15:03:26,245 - 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.242, gateway password: c0ntrail123
2025-10-27 15:03:26,245 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-10-27 15:03:28,356 - DEBUG - 1+0 records in
1+0 records out
2025-10-27 15:03:29,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 15:03:29,436 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-27 15:03:29,436 - DEBUG - ls -l testfile
2025-10-27 15:03:31,074 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 27 09:03 [0;0mtestfile[0m
2025-10-27 15:03:31,074 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-43465591-03319800
2025-10-27 15:03:31,074 - INFO - Deleting VM ctest-TestBasicVMVNx-43465591-03319800
2025-10-27 15:03:31,152 - INFO - Deleting VM ctest-TestBasicVMVNx-43465591-55011659
2025-10-27 15:03:31,226 - INFO - Deleting VN ctest-vn-50927559
2025-10-27 15:03:31,262 - DEBUG - VN 7ad6613e-fb1e-48c5-bdb3-6917d515c6a3 still in use: Unable to complete operation on network 7ad6613e-fb1e-48c5-bdb3-6917d515c6a3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9e193a11-2810-471b-af70-bd80d32e2fb8']
2025-10-27 15:03:31,263 - WARNING - Deleting VN ctest-vn-50927559 failed..Will retry
2025-10-27 15:03:33,368 - DEBUG - Response for deleting network ()
2025-10-27 15:03:33,641 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 15:03:33,641 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-10-27 15:03:33,642 - INFO - --------------------------------------------------------------------------------
2025-10-27 15:03:34,408 - INFO - Deleted project: ctest-TestBasicVMVNx-43465591, ID : c3d6f90a-49b8-4ad4-bb64-c27209d690c6