2025-04-17 10:30:55,527 - INFO - Domain Default found not creating
2025-04-17 10:30:55,704 - INFO - Project ctest-TestBasicVMVNx-62303880 not found, creating it
2025-04-17 10:30:56,238 - INFO - Created Project:ctest-TestBasicVMVNx-62303880, ID : 33b1d456-9e49-4dd4-b7f5-d9d8c28c2831
2025-04-17 10:30:57,957 - INFO - ================================================================================
2025-04-17 10:30:57,958 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-17 10:30:57,958 - 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-04-17 10:30:58,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-04-17 10:30:58,233 - INFO - Initial checks done. Running the testcase now
2025-04-17 10:30:58,233 - INFO -
2025-04-17 10:30:58,901 - DEBUG - Response for create_network : {'network': {'id': 'e546c285-4298-4812-86f8-1085648ce141', 'name': 'ctest-vn-23842008', 'tenant_id': '33b1d4569e494dd4b7f5d9d8c28c2831', 'project_id': '33b1d4569e494dd4b7f5d9d8c28c2831', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-62303880', 'ctest-vn-23842008'], 'port_security_enabled': True, 'description': ''}}
2025-04-17 10:30:59,135 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2bec426-9f5f-4b90-9d88-0dfc8887ff28', 'name': '', 'tenant_id': '33b1d4569e494dd4b7f5d9d8c28c2831', 'network_id': 'e546c285-4298-4812-86f8-1085648ce141', 'ip_version': 4, 'cidr': '125.86.239.128/26', 'allocation_pools': [{'start': '125.86.239.130', 'end': '125.86.239.190'}], 'gateway_ip': '125.86.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.86.239.130', 'tags': [], 'project_id': '33b1d4569e494dd4b7f5d9d8c28c2831'}}
2025-04-17 10:30:59,155 - INFO - Created VN ctest-vn-23842008
2025-04-17 10:30:59,213 - DEBUG - VN ctest-vn-23842008 UUID is e546c285-4298-4812-86f8-1085648ce141
2025-04-17 10:30:59,440 - DEBUG - Services list from nova: [, , ]
2025-04-17 10:31:00,671 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3135-1)
2025-04-17 10:31:02,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3135-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3135-1)
2025-04-17 10:31:02,075 - INFO - Waiting for VM ctest-TestBasicVMVNx-62303880-89946905 to be up..
2025-04-17 10:31:02,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-17 10:31:07,331 - DEBUG - VM is in ACTIVE state now
2025-04-17 10:31:07,331 - INFO - VM name : ctest-TestBasicVMVNx-62303880-89946905
2025-04-17 10:31:07,438 - DEBUG - VM ctest-TestBasicVMVNx-62303880-89946905 ID is d2ff93c9-a90f-4423-b4a2-bf6d305b1f7a
2025-04-17 10:31:07,467 - DEBUG - VM ctest-TestBasicVMVNx-62303880-89946905 launched on Node cn-jenkins-deploy-platform-ansible-os-3135-1
2025-04-17 10:31:07,576 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d2ff93c9-a90f-4423-b4a2-bf6d305b1f7a
2025-04-17 10:31:07,903 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d2ff93c9-a90f-4423-b4a2-bf6d305b1f7a
2025-04-17 10:31:07,960 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4e830d6d-5dd5-4442-afdc-5e00f3cd420e
2025-04-17 10:31:11,246 - 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 1012ms')
2025-04-17 10:31:11,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62303880-89946905 failed!
2025-04-17 10:31:11,309 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-62303880:ctest-vn-23842008 is 125.86.239.129 and allocation pool is NOT set
2025-04-17 10:31:13,381 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.26 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.260/3.852/5.444/1.592 ms')
2025-04-17 10:31:13,381 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62303880-89946905 passed
2025-04-17 10:31:13,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 10:31:13,550 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62303880-89946905, IP 125.86.239.131, Port 22
2025-04-17 10:31:13,615 - 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-04-17 10:31:13,772 - DEBUG - VM ctest-TestBasicVMVNx-62303880-89946905 is NOT ready for SSH connections, VM status: ACTIVE
2025-04-17 10:31:18,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 10:31:18,773 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62303880-89946905, IP 125.86.239.131, Port 22
2025-04-17 10:31:18,944 - DEBUG - VM ctest-TestBasicVMVNx-62303880-89946905 is ready for SSH connections
2025-04-17 10:31:18,944 - INFO - Waiting for VM ctest-TestBasicVMVNx-62303880-78192661 to be up..
2025-04-17 10:31:19,046 - DEBUG - VM is in ACTIVE state now
2025-04-17 10:31:19,047 - INFO - VM name : ctest-TestBasicVMVNx-62303880-78192661
2025-04-17 10:31:19,142 - DEBUG - VM ctest-TestBasicVMVNx-62303880-78192661 ID is f637e4ae-811a-44f6-b95e-b3e331b74db3
2025-04-17 10:31:19,142 - DEBUG - VM ctest-TestBasicVMVNx-62303880-78192661 launched on Node cn-jenkins-deploy-platform-ansible-os-3135-1
2025-04-17 10:31:19,248 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f637e4ae-811a-44f6-b95e-b3e331b74db3
2025-04-17 10:31:19,259 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b919336d-efa6-47ad-b6b4-0fc8de7069e9
2025-04-17 10:31:20,533 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.560 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.560/2.376/4.193/1.816 ms')
2025-04-17 10:31:20,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-62303880-78192661 passed
2025-04-17 10:31:20,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 10:31:20,694 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62303880-78192661, IP 125.86.239.132, Port 22
2025-04-17 10:31:20,871 - DEBUG - VM ctest-TestBasicVMVNx-62303880-78192661 is ready for SSH connections
2025-04-17 10:31:20,872 - DEBUG - FILE SIZE = 1303B
2025-04-17 10:31:20,872 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-62303880-89946905 to ctest-TestBasicVMVNx-62303880-78192661 using scp
2025-04-17 10:31:20,872 - 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-04-17 10:31:20,873 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-17 10:31:23,086 - DEBUG - 1+0 records in
1+0 records out
2025-04-17 10:31:23,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-17 10:31:24,361 - 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-04-17 10:31:24,362 - DEBUG - ls -l testfile
2025-04-17 10:31:26,107 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 17 04:31 [0;0mtestfile[0m
2025-04-17 10:31:26,107 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-62303880-78192661
2025-04-17 10:31:26,107 - INFO - Deleting VM ctest-TestBasicVMVNx-62303880-78192661
2025-04-17 10:31:26,344 - INFO - Deleting VM ctest-TestBasicVMVNx-62303880-89946905
2025-04-17 10:31:26,436 - INFO - Deleting VN ctest-vn-23842008
2025-04-17 10:31:26,497 - DEBUG - VN e546c285-4298-4812-86f8-1085648ce141 still in use: Unable to complete operation on network e546c285-4298-4812-86f8-1085648ce141. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f906a0a0-f08f-4e88-b271-5f24b6983aae']
2025-04-17 10:31:26,497 - WARNING - Deleting VN ctest-vn-23842008 failed..Will retry
2025-04-17 10:31:28,639 - DEBUG - Response for deleting network ()
2025-04-17 10:31:28,902 - DEBUG - No XMPP flaps were noticed during the test
2025-04-17 10:31:28,902 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2025-04-17 10:31:28,902 - INFO - --------------------------------------------------------------------------------
2025-04-17 10:31:29,677 - INFO - Deleted project: ctest-TestBasicVMVNx-62303880, ID : 33b1d456-9e49-4dd4-b7f5-d9d8c28c2831