2025-06-05 02:04:08,878 - INFO - Reading existing Domain with UUID 92c00774-2743-4ed5-87aa-ed783cf65c82
2025-06-05 02:04:08,894 - INFO - Using existing domain ['admin_domain'](92c00774-2743-4ed5-87aa-ed783cf65c82)
2025-06-05 02:04:09,131 - INFO - Project ctest-TestBasicVMVNx-14904022 not found, creating it
2025-06-05 02:04:09,705 - INFO - Created Project:ctest-TestBasicVMVNx-14904022, ID : 0dbeea41-5827-41e0-9b75-e30b887d081a
2025-06-05 02:04:11,574 - INFO - ================================================================================
2025-06-05 02:04:11,574 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-05 02:04:11,574 - 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-06-05 02:04:11,964 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with
2025-06-05 02:04:11,964 - INFO - Initial checks done. Running the testcase now
2025-06-05 02:04:11,964 - INFO -
2025-06-05 02:04:12,864 - DEBUG - Response for create_network : {'network': {'id': 'f7b38b97-1915-41d6-a0ed-0f43a1695988', 'name': 'ctest-vn-88798604', 'tenant_id': '0dbeea41582741e09b75e30b887d081a', 'project_id': '0dbeea41582741e09b75e30b887d081a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-14904022', 'ctest-vn-88798604'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-06-05 02:04:13,168 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a34f65f5-2d68-4246-afce-63b841e523e8', 'name': '', 'tenant_id': '0dbeea41582741e09b75e30b887d081a', 'network_id': 'f7b38b97-1915-41d6-a0ed-0f43a1695988', 'ip_version': 4, 'cidr': '56.75.155.64/26', 'allocation_pools': [{'start': '56.75.155.66', 'end': '56.75.155.126'}], 'gateway_ip': '56.75.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-05T02:04:13.030687', 'updated_at': '2025-06-05T02:04:13.030687', 'dns_server_address': '56.75.155.66', 'tags': [], 'project_id': '0dbeea41582741e09b75e30b887d081a'}}
2025-06-05 02:04:13,240 - INFO - Created VN ctest-vn-88798604
2025-06-05 02:04:13,302 - DEBUG - VN ctest-vn-88798604 UUID is f7b38b97-1915-41d6-a0ed-0f43a1695988
2025-06-05 02:04:13,613 - DEBUG - Services list from nova: [, , ]
2025-06-05 02:04:14,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-543-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-543-1)
2025-06-05 02:04:16,250 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-543-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-543-1)
2025-06-05 02:04:16,250 - INFO - Waiting for VM ctest-TestBasicVMVNx-14904022-47350990 to be up..
2025-06-05 02:04:16,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-05 02:04:21,595 - DEBUG - VM is in ACTIVE state now
2025-06-05 02:04:21,595 - INFO - VM name : ctest-TestBasicVMVNx-14904022-47350990
2025-06-05 02:04:21,752 - DEBUG - VM ctest-TestBasicVMVNx-14904022-47350990 ID is 3a6f3648-ef0f-445d-8cef-9d55de46b7c4
2025-06-05 02:04:21,793 - DEBUG - VM ctest-TestBasicVMVNx-14904022-47350990 launched on Node cn-jenkins-deploy-platform-juju-os-543-1
2025-06-05 02:04:21,947 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/3a6f3648-ef0f-445d-8cef-9d55de46b7c4
2025-06-05 02:04:22,301 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/3a6f3648-ef0f-445d-8cef-9d55de46b7c4
2025-06-05 02:04:22,391 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/fc782f8d-7020-46ee-ac96-4f8371072ef7
2025-06-05 02:04:25,954 - 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 1028ms')
2025-06-05 02:04:25,954 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14904022-47350990 failed!
2025-06-05 02:04:26,014 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-14904022:ctest-vn-88798604 is 56.75.155.65 and allocation pool is NOT set
2025-06-05 02:04:28,110 - 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.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.471 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.471/7.066/13.662/6.595 ms')
2025-06-05 02:04:28,110 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14904022-47350990 passed
2025-06-05 02:04:28,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 02:04:28,294 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14904022-47350990, IP 56.75.155.67, Port 22
2025-06-05 02:04:28,391 - 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-06-05 02:04:28,561 - DEBUG - VM ctest-TestBasicVMVNx-14904022-47350990 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-05 02:04:33,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 02:04:33,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14904022-47350990, IP 56.75.155.67, Port 22
2025-06-05 02:04:33,776 - DEBUG - VM ctest-TestBasicVMVNx-14904022-47350990 is ready for SSH connections
2025-06-05 02:04:33,776 - INFO - Waiting for VM ctest-TestBasicVMVNx-14904022-56032689 to be up..
2025-06-05 02:04:33,929 - DEBUG - VM is in ACTIVE state now
2025-06-05 02:04:33,930 - INFO - VM name : ctest-TestBasicVMVNx-14904022-56032689
2025-06-05 02:04:34,086 - DEBUG - VM ctest-TestBasicVMVNx-14904022-56032689 ID is b7e67601-b54d-4813-bfd6-d6e5dafe201a
2025-06-05 02:04:34,087 - DEBUG - VM ctest-TestBasicVMVNx-14904022-56032689 launched on Node cn-jenkins-deploy-platform-juju-os-543-1
2025-06-05 02:04:34,251 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/b7e67601-b54d-4813-bfd6-d6e5dafe201a
2025-06-05 02:04:34,307 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/c8f1666b-20b1-403d-aaf8-18a34d9883f7
2025-06-05 02:04:35,770 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/1.855/3.193/1.338 ms')
2025-06-05 02:04:35,770 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-14904022-56032689 passed
2025-06-05 02:04:35,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 02:04:35,938 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14904022-56032689, IP 56.75.155.68, Port 22
2025-06-05 02:04:36,153 - DEBUG - VM ctest-TestBasicVMVNx-14904022-56032689 is ready for SSH connections
2025-06-05 02:04:36,153 - DEBUG - FILE SIZE = 1303B
2025-06-05 02:04:36,153 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-14904022-47350990 to ctest-TestBasicVMVNx-14904022-56032689 using scp
2025-06-05 02:04:36,160 - 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.33, gateway password: c0ntrail123
2025-06-05 02:04:36,160 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-05 02:04:37,800 - DEBUG - 1+0 records in
1+0 records out
2025-06-05 02:04:38,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-05 02:04:38,806 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-06-05 02:04:38,806 - DEBUG - ls -l testfile
2025-06-05 02:04:40,438 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 4 20:04 [0;0mtestfile[0m
2025-06-05 02:04:40,438 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-14904022-56032689
2025-06-05 02:04:40,438 - INFO - Deleting VM ctest-TestBasicVMVNx-14904022-56032689
2025-06-05 02:04:40,571 - INFO - Deleting VM ctest-TestBasicVMVNx-14904022-47350990
2025-06-05 02:04:40,697 - INFO - Deleting VN ctest-vn-88798604
2025-06-05 02:04:40,854 - DEBUG - VN f7b38b97-1915-41d6-a0ed-0f43a1695988 still in use: Unable to complete operation on network f7b38b97-1915-41d6-a0ed-0f43a1695988. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-157d58df-b667-4abb-ba0b-41ac2601c8c8']
2025-06-05 02:04:40,854 - WARNING - Deleting VN ctest-vn-88798604 failed..Will retry
2025-06-05 02:04:43,037 - DEBUG - Response for deleting network ()
2025-06-05 02:04:43,439 - DEBUG - No XMPP flaps were noticed during the test
2025-06-05 02:04:43,440 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-06-05 02:04:43,440 - INFO - --------------------------------------------------------------------------------
2025-06-05 02:04:44,230 - INFO - Deleted project: ctest-TestBasicVMVNx-14904022, ID : 0dbeea41-5827-41e0-9b75-e30b887d081a