2025-07-21 10:22:36,068 - INFO - Domain Default found not creating
2025-07-21 10:22:36,431 - INFO - Project ctest-TestBasicVMVNx-09556003 not found, creating it
2025-07-21 10:22:37,199 - INFO - Created Project:ctest-TestBasicVMVNx-09556003, ID : 7c09c1c4-59a7-48fc-933a-416df86bbbc3
2025-07-21 10:22:39,976 - INFO - ================================================================================
2025-07-21 10:22:39,976 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-07-21 10:22:39,976 - 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-21 10:22:40,296 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-07-21 10:22:40,296 - INFO - Initial checks done. Running the testcase now
2025-07-21 10:22:40,297 - INFO -
2025-07-21 10:22:41,031 - DEBUG - Response for create_network : {'network': {'id': '3258b59a-0508-4850-b4f0-1afff25b8032', 'name': 'ctest-vn-14814510', 'tenant_id': '7c09c1c459a748fc933a416df86bbbc3', 'project_id': '7c09c1c459a748fc933a416df86bbbc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-09556003', 'ctest-vn-14814510'], 'port_security_enabled': True, 'description': ''}}
2025-07-21 10:22:41,225 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2e38ce3-5e46-4f64-9953-292954204bc1', 'name': '', 'tenant_id': '7c09c1c459a748fc933a416df86bbbc3', 'network_id': '3258b59a-0508-4850-b4f0-1afff25b8032', 'ip_version': 4, 'cidr': '45.172.248.128/26', 'allocation_pools': [{'start': '45.172.248.130', 'end': '45.172.248.190'}], 'gateway_ip': '45.172.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.172.248.130', 'tags': [], 'project_id': '7c09c1c459a748fc933a416df86bbbc3'}}
2025-07-21 10:22:41,243 - INFO - Created VN ctest-vn-14814510
2025-07-21 10:22:41,301 - DEBUG - VN ctest-vn-14814510 UUID is 3258b59a-0508-4850-b4f0-1afff25b8032
2025-07-21 10:22:41,522 - DEBUG - Services list from nova: [, , ]
2025-07-21 10:22:43,216 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3677-1)
2025-07-21 10:22:44,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3677-1)
2025-07-21 10:22:44,575 - INFO - Waiting for VM ctest-TestBasicVMVNx-09556003-94370040 to be up..
2025-07-21 10:22:44,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-21 10:22:49,925 - DEBUG - VM is in ACTIVE state now
2025-07-21 10:22:49,925 - INFO - VM name : ctest-TestBasicVMVNx-09556003-94370040
2025-07-21 10:22:50,037 - DEBUG - VM ctest-TestBasicVMVNx-09556003-94370040 ID is 6ef7f4af-1c0e-465a-a604-993a7db19e99
2025-07-21 10:22:50,067 - DEBUG - VM ctest-TestBasicVMVNx-09556003-94370040 launched on Node cn-jenkins-deploy-platform-ansible-os-3677-1
2025-07-21 10:22:50,191 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6ef7f4af-1c0e-465a-a604-993a7db19e99
2025-07-21 10:22:50,494 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6ef7f4af-1c0e-465a-a604-993a7db19e99
2025-07-21 10:22:50,531 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2b77b554-2e24-4f65-a07f-b624f09a9682
2025-07-21 10:22:53,820 - 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 1019ms')
2025-07-21 10:22:53,820 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09556003-94370040 failed!
2025-07-21 10:22:53,901 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-09556003:ctest-vn-14814510 is 45.172.248.129 and allocation pool is NOT set
2025-07-21 10:22:55,985 - 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=5.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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.767/4.157/5.547/1.390 ms')
2025-07-21 10:22:55,985 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09556003-94370040 passed
2025-07-21 10:22:56,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 10:22:56,157 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09556003-94370040, IP 45.172.248.131, Port 22
2025-07-21 10:22:56,223 - 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-07-21 10:22:56,335 - DEBUG - VM ctest-TestBasicVMVNx-09556003-94370040 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-21 10:23:01,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 10:23:01,337 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09556003-94370040, IP 45.172.248.131, Port 22
2025-07-21 10:23:01,537 - DEBUG - VM ctest-TestBasicVMVNx-09556003-94370040 is ready for SSH connections
2025-07-21 10:23:01,537 - INFO - Waiting for VM ctest-TestBasicVMVNx-09556003-16294172 to be up..
2025-07-21 10:23:01,691 - DEBUG - VM is in ACTIVE state now
2025-07-21 10:23:01,692 - INFO - VM name : ctest-TestBasicVMVNx-09556003-16294172
2025-07-21 10:23:01,773 - DEBUG - VM ctest-TestBasicVMVNx-09556003-16294172 ID is 20c6e24b-07c8-42fe-9ae1-6ba062e4cd05
2025-07-21 10:23:01,773 - DEBUG - VM ctest-TestBasicVMVNx-09556003-16294172 launched on Node cn-jenkins-deploy-platform-ansible-os-3677-1
2025-07-21 10:23:01,865 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/20c6e24b-07c8-42fe-9ae1-6ba062e4cd05
2025-07-21 10:23:01,881 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/eb258735-a578-4d99-a5c8-1f077938b31b
2025-07-21 10:23:03,180 - 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=8.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.925 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.925/4.897/8.870/3.972 ms')
2025-07-21 10:23:03,181 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-09556003-16294172 passed
2025-07-21 10:23:03,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 10:23:03,374 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09556003-16294172, IP 45.172.248.132, Port 22
2025-07-21 10:23:03,575 - DEBUG - VM ctest-TestBasicVMVNx-09556003-16294172 is ready for SSH connections
2025-07-21 10:23:03,576 - DEBUG - FILE SIZE = 1303B
2025-07-21 10:23:03,576 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-09556003-94370040 to ctest-TestBasicVMVNx-09556003-16294172 using scp
2025-07-21 10:23:03,578 - 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-21 10:23:03,579 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-07-21 10:23:06,033 - DEBUG - 1+0 records in
1+0 records out
2025-07-21 10:23:06,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-21 10:23:07,292 - 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-21 10:23:07,293 - DEBUG - ls -l testfile
2025-07-21 10:23:09,284 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 21 04:23 [0;0mtestfile[0m
2025-07-21 10:23:09,285 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-09556003-16294172
2025-07-21 10:23:09,285 - INFO - Deleting VM ctest-TestBasicVMVNx-09556003-16294172
2025-07-21 10:23:09,454 - INFO - Deleting VM ctest-TestBasicVMVNx-09556003-94370040
2025-07-21 10:23:09,611 - INFO - Deleting VN ctest-vn-14814510
2025-07-21 10:23:09,715 - DEBUG - VN 3258b59a-0508-4850-b4f0-1afff25b8032 still in use: Unable to complete operation on network 3258b59a-0508-4850-b4f0-1afff25b8032. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3a06a6b7-01f4-4f1f-aeef-bdbac1a90784']
2025-07-21 10:23:09,715 - WARNING - Deleting VN ctest-vn-14814510 failed..Will retry
2025-07-21 10:23:11,955 - DEBUG - Response for deleting network ()
2025-07-21 10:23:12,269 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 10:23:12,269 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33]
2025-07-21 10:23:12,269 - INFO - --------------------------------------------------------------------------------
2025-07-21 10:23:13,345 - INFO - Deleted project: ctest-TestBasicVMVNx-09556003, ID : 7c09c1c4-59a7-48fc-933a-416df86bbbc3