2025-10-09 13:49:00,877 - INFO - Reading existing Domain with UUID 8ad80d2d-2369-4ab9-896f-7a17fd6c7f55
2025-10-09 13:49:00,893 - INFO - Using existing domain ['admin_domain'](8ad80d2d-2369-4ab9-896f-7a17fd6c7f55)
2025-10-09 13:49:01,117 - INFO - Project ctest-TestBasicVMVNx-11419170 not found, creating it
2025-10-09 13:49:01,653 - INFO - Created Project:ctest-TestBasicVMVNx-11419170, ID : d1744f41-5627-481f-a1d7-57ae5ae6efad
2025-10-09 13:49:03,550 - INFO - ================================================================================
2025-10-09 13:49:03,550 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-09 13:49:03,550 - 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-09 13:49:03,944 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with
2025-10-09 13:49:03,944 - INFO - Initial checks done. Running the testcase now
2025-10-09 13:49:03,944 - INFO -
2025-10-09 13:49:04,791 - DEBUG - Response for create_network : {'network': {'id': '5bde0950-2ee5-423f-be6a-0362fe75f904', 'name': 'ctest-vn-97001589', 'tenant_id': 'd1744f415627481fa1d757ae5ae6efad', 'project_id': 'd1744f415627481fa1d757ae5ae6efad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-11419170', 'ctest-vn-97001589'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-09 13:49:04,996 - DEBUG - Response for create_subnet : {'subnet': {'id': '42286383-72df-4ae6-b1e7-b0799191c4cd', 'name': '', 'tenant_id': 'd1744f415627481fa1d757ae5ae6efad', 'network_id': '5bde0950-2ee5-423f-be6a-0362fe75f904', 'ip_version': 4, 'cidr': '74.122.85.192/26', 'allocation_pools': [{'start': '74.122.85.194', 'end': '74.122.85.254'}], 'gateway_ip': '74.122.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T13:49:04.890285', 'updated_at': '2025-10-09T13:49:04.890285', 'dns_server_address': '74.122.85.194', 'tags': [], 'project_id': 'd1744f415627481fa1d757ae5ae6efad'}}
2025-10-09 13:49:05,061 - INFO - Created VN ctest-vn-97001589
2025-10-09 13:49:05,114 - DEBUG - VN ctest-vn-97001589 UUID is 5bde0950-2ee5-423f-be6a-0362fe75f904
2025-10-09 13:49:05,401 - DEBUG - Services list from nova: [, , ]
2025-10-09 13:49:06,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-588-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-588-1)
2025-10-09 13:49:08,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-588-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-588-1)
2025-10-09 13:49:08,021 - INFO - Waiting for VM ctest-TestBasicVMVNx-11419170-20461175 to be up..
2025-10-09 13:49:08,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 13:49:13,330 - DEBUG - VM is in ACTIVE state now
2025-10-09 13:49:13,330 - INFO - VM name : ctest-TestBasicVMVNx-11419170-20461175
2025-10-09 13:49:13,474 - DEBUG - VM ctest-TestBasicVMVNx-11419170-20461175 ID is f72ffb87-8c29-4909-94bc-04e9e5b81dcd
2025-10-09 13:49:13,499 - DEBUG - VM ctest-TestBasicVMVNx-11419170-20461175 launched on Node cn-jenkins-deploy-platform-juju-os-588-1
2025-10-09 13:49:13,646 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/f72ffb87-8c29-4909-94bc-04e9e5b81dcd
2025-10-09 13:49:14,038 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/f72ffb87-8c29-4909-94bc-04e9e5b81dcd
2025-10-09 13:49:14,131 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/dc6bc379-f518-454b-af7a-c943f7802a9c
2025-10-09 13:49:17,608 - 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 1005ms')
2025-10-09 13:49:17,609 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11419170-20461175 failed!
2025-10-09 13:49:17,662 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-11419170:ctest-vn-97001589 is 74.122.85.193 and allocation pool is NOT set
2025-10-09 13:49:19,765 - 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.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.52 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 = 2.517/6.395/10.273/3.878 ms')
2025-10-09 13:49:19,765 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11419170-20461175 passed
2025-10-09 13:49:19,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 13:49:19,922 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11419170-20461175, IP 74.122.85.195, Port 22
2025-10-09 13:49:20,029 - 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-10-09 13:49:20,194 - DEBUG - VM ctest-TestBasicVMVNx-11419170-20461175 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 13:49:25,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 13:49:25,195 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11419170-20461175, IP 74.122.85.195, Port 22
2025-10-09 13:49:25,416 - DEBUG - VM ctest-TestBasicVMVNx-11419170-20461175 is ready for SSH connections
2025-10-09 13:49:25,416 - INFO - Waiting for VM ctest-TestBasicVMVNx-11419170-10120913 to be up..
2025-10-09 13:49:25,553 - DEBUG - VM is in ACTIVE state now
2025-10-09 13:49:25,554 - INFO - VM name : ctest-TestBasicVMVNx-11419170-10120913
2025-10-09 13:49:25,693 - DEBUG - VM ctest-TestBasicVMVNx-11419170-10120913 ID is d4ac3110-860c-41c0-a119-2e9a519728a0
2025-10-09 13:49:25,693 - DEBUG - VM ctest-TestBasicVMVNx-11419170-10120913 launched on Node cn-jenkins-deploy-platform-juju-os-588-1
2025-10-09 13:49:25,831 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/d4ac3110-860c-41c0-a119-2e9a519728a0
2025-10-09 13:49:25,887 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/b53f608b-cf77-4229-ad7e-e37e532da5b5
2025-10-09 13:49:27,354 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/1.811/3.153/1.342 ms')
2025-10-09 13:49:27,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-11419170-10120913 passed
2025-10-09 13:49:27,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 13:49:27,510 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11419170-10120913, IP 74.122.85.196, Port 22
2025-10-09 13:49:27,724 - DEBUG - VM ctest-TestBasicVMVNx-11419170-10120913 is ready for SSH connections
2025-10-09 13:49:27,725 - DEBUG - FILE SIZE = 1303B
2025-10-09 13:49:27,725 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-11419170-20461175 to ctest-TestBasicVMVNx-11419170-10120913 using scp
2025-10-09 13:49:27,731 - 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.41, gateway password: c0ntrail123
2025-10-09 13:49:27,732 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-10-09 13:49:29,816 - DEBUG - 1+0 records in
1+0 records out
2025-10-09 13:49:30,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 13:49:30,969 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-10-09 13:49:30,969 - DEBUG - ls -l testfile
2025-10-09 13:49:32,602 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 9 07:49 [0;0mtestfile[0m
2025-10-09 13:49:32,602 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-11419170-10120913
2025-10-09 13:49:32,602 - INFO - Deleting VM ctest-TestBasicVMVNx-11419170-10120913
2025-10-09 13:49:32,713 - INFO - Deleting VM ctest-TestBasicVMVNx-11419170-20461175
2025-10-09 13:49:32,827 - INFO - Deleting VN ctest-vn-97001589
2025-10-09 13:49:32,971 - DEBUG - VN 5bde0950-2ee5-423f-be6a-0362fe75f904 still in use: Unable to complete operation on network 5bde0950-2ee5-423f-be6a-0362fe75f904. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-181071a1-4cfc-48bf-80b0-362708694566']
2025-10-09 13:49:32,971 - WARNING - Deleting VN ctest-vn-97001589 failed..Will retry
2025-10-09 13:49:35,174 - DEBUG - Response for deleting network ()
2025-10-09 13:49:35,576 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 13:49:35,576 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-10-09 13:49:35,576 - INFO - --------------------------------------------------------------------------------
2025-10-09 13:49:36,405 - INFO - Deleted project: ctest-TestBasicVMVNx-11419170, ID : d1744f41-5627-481f-a1d7-57ae5ae6efad