2025-06-09 02:05:31,503 - INFO - Reading existing Domain with UUID 7aee698f-3aa6-4114-8aa9-0ff605a1286e
2025-06-09 02:05:31,515 - INFO - Using existing domain ['admin_domain'](7aee698f-3aa6-4114-8aa9-0ff605a1286e)
2025-06-09 02:05:31,728 - INFO - Project ctest-TestBasicVMVNx-98430927 not found, creating it
2025-06-09 02:05:32,257 - INFO - Created Project:ctest-TestBasicVMVNx-98430927, ID : 38e2b960-aaae-4b45-9aa2-2b9ed010e41e
2025-06-09 02:05:33,960 - INFO - ================================================================================
2025-06-09 02:05:33,960 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-09 02:05:33,960 - 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-09 02:05:34,351 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with
2025-06-09 02:05:34,351 - INFO - Initial checks done. Running the testcase now
2025-06-09 02:05:34,351 - INFO -
2025-06-09 02:05:35,118 - DEBUG - Response for create_network : {'network': {'id': 'f917ca2d-eb9c-41c0-bd0b-28219d3b94fc', 'name': 'ctest-vn-09159184', 'tenant_id': '38e2b960aaae4b459aa22b9ed010e41e', 'project_id': '38e2b960aaae4b459aa22b9ed010e41e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-98430927', 'ctest-vn-09159184'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-06-09 02:05:35,372 - DEBUG - Response for create_subnet : {'subnet': {'id': '3829dbdc-741d-4136-bc77-89bf8374427d', 'name': '', 'tenant_id': '38e2b960aaae4b459aa22b9ed010e41e', 'network_id': 'f917ca2d-eb9c-41c0-bd0b-28219d3b94fc', 'ip_version': 4, 'cidr': '46.26.173.192/26', 'allocation_pools': [{'start': '46.26.173.194', 'end': '46.26.173.254'}], 'gateway_ip': '46.26.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-09T02:05:35.273115', 'updated_at': '2025-06-09T02:05:35.273115', 'dns_server_address': '46.26.173.194', 'tags': [], 'project_id': '38e2b960aaae4b459aa22b9ed010e41e'}}
2025-06-09 02:05:35,435 - INFO - Created VN ctest-vn-09159184
2025-06-09 02:05:35,489 - DEBUG - VN ctest-vn-09159184 UUID is f917ca2d-eb9c-41c0-bd0b-28219d3b94fc
2025-06-09 02:05:35,774 - DEBUG - Services list from nova: [, , ]
2025-06-09 02:05:37,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-544-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-544-1)
2025-06-09 02:05:38,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-544-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-544-1)
2025-06-09 02:05:38,383 - INFO - Waiting for VM ctest-TestBasicVMVNx-98430927-20403631 to be up..
2025-06-09 02:05:38,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-09 02:05:43,675 - DEBUG - VM is in ACTIVE state now
2025-06-09 02:05:43,675 - INFO - VM name : ctest-TestBasicVMVNx-98430927-20403631
2025-06-09 02:05:43,814 - DEBUG - VM ctest-TestBasicVMVNx-98430927-20403631 ID is aaf27c24-2347-4813-b9c7-c3587fa93aa4
2025-06-09 02:05:43,843 - DEBUG - VM ctest-TestBasicVMVNx-98430927-20403631 launched on Node cn-jenkins-deploy-platform-juju-os-544-1
2025-06-09 02:05:43,978 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/aaf27c24-2347-4813-b9c7-c3587fa93aa4
2025-06-09 02:05:44,329 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/aaf27c24-2347-4813-b9c7-c3587fa93aa4
2025-06-09 02:05:44,418 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/76c96d15-7f35-4a2d-87af-1a7a752abe7b
2025-06-09 02:05:47,888 - 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-06-09 02:05:47,888 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98430927-20403631 failed!
2025-06-09 02:05:47,945 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-98430927:ctest-vn-09159184 is 46.26.173.193 and allocation pool is NOT set
2025-06-09 02:05:50,052 - 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=8.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.48 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.480/5.017/8.554/3.537 ms')
2025-06-09 02:05:50,052 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98430927-20403631 passed
2025-06-09 02:05:50,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-09 02:05:50,213 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98430927-20403631, IP 46.26.173.195, Port 22
2025-06-09 02:05:50,309 - 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-09 02:05:50,451 - DEBUG - VM ctest-TestBasicVMVNx-98430927-20403631 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-09 02:05:55,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-09 02:05:55,452 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98430927-20403631, IP 46.26.173.195, Port 22
2025-06-09 02:05:55,667 - DEBUG - VM ctest-TestBasicVMVNx-98430927-20403631 is ready for SSH connections
2025-06-09 02:05:55,667 - INFO - Waiting for VM ctest-TestBasicVMVNx-98430927-93450696 to be up..
2025-06-09 02:05:55,803 - DEBUG - VM is in ACTIVE state now
2025-06-09 02:05:55,803 - INFO - VM name : ctest-TestBasicVMVNx-98430927-93450696
2025-06-09 02:05:55,937 - DEBUG - VM ctest-TestBasicVMVNx-98430927-93450696 ID is 11dd9730-e4e6-48e1-b0c6-37fb5d7eaf3c
2025-06-09 02:05:55,937 - DEBUG - VM ctest-TestBasicVMVNx-98430927-93450696 launched on Node cn-jenkins-deploy-platform-juju-os-544-1
2025-06-09 02:05:56,073 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/11dd9730-e4e6-48e1-b0c6-37fb5d7eaf3c
2025-06-09 02:05:56,125 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/004e3351-2ce4-4d6d-9500-b2604b156566
2025-06-09 02:05:57,580 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.711/3.063/1.351 ms')
2025-06-09 02:05:57,580 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-98430927-93450696 passed
2025-06-09 02:05:57,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-09 02:05:57,733 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98430927-93450696, IP 46.26.173.196, Port 22
2025-06-09 02:05:57,946 - DEBUG - VM ctest-TestBasicVMVNx-98430927-93450696 is ready for SSH connections
2025-06-09 02:05:57,947 - DEBUG - FILE SIZE = 1303B
2025-06-09 02:05:57,947 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-98430927-20403631 to ctest-TestBasicVMVNx-98430927-93450696 using scp
2025-06-09 02:05:57,953 - 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-09 02:05:57,953 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-09 02:05:59,924 - DEBUG - 1+0 records in
1+0 records out
2025-06-09 02:06:00,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-09 02:06:01,039 - 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-09 02:06:01,040 - DEBUG - ls -l testfile
2025-06-09 02:06:02,610 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 8 20:06 [0;0mtestfile[0m
2025-06-09 02:06:02,610 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-98430927-93450696
2025-06-09 02:06:02,610 - INFO - Deleting VM ctest-TestBasicVMVNx-98430927-93450696
2025-06-09 02:06:02,714 - INFO - Deleting VM ctest-TestBasicVMVNx-98430927-20403631
2025-06-09 02:06:02,819 - INFO - Deleting VN ctest-vn-09159184
2025-06-09 02:06:02,952 - DEBUG - VN f917ca2d-eb9c-41c0-bd0b-28219d3b94fc still in use: Unable to complete operation on network f917ca2d-eb9c-41c0-bd0b-28219d3b94fc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ab9be11b-830f-4ca9-80d8-5c567c9ce8a3']
2025-06-09 02:06:02,953 - WARNING - Deleting VN ctest-vn-09159184 failed..Will retry
2025-06-09 02:06:05,132 - DEBUG - Response for deleting network ()
2025-06-09 02:06:05,530 - DEBUG - No XMPP flaps were noticed during the test
2025-06-09 02:06:05,530 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-06-09 02:06:05,530 - INFO - --------------------------------------------------------------------------------
2025-06-09 02:06:06,287 - INFO - Deleted project: ctest-TestBasicVMVNx-98430927, ID : 38e2b960-aaae-4b45-9aa2-2b9ed010e41e