2025-01-13 11:33:35,957 - INFO - Domain Default found not creating
2025-01-13 11:33:36,139 - INFO - Project ctest-TestBasicVMVNx-79426293 not found, creating it
2025-01-13 11:33:36,658 - INFO - Created Project:ctest-TestBasicVMVNx-79426293, ID : b33d48d0-b9dd-4ccf-b5d0-7ca679081ac2
2025-01-13 11:33:38,275 - INFO - ================================================================================
2025-01-13 11:33:38,276 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-13 11:33:38,276 - 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-01-13 11:33:38,535 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.14': '0'}} with
2025-01-13 11:33:38,535 - INFO - Initial checks done. Running the testcase now
2025-01-13 11:33:38,536 - INFO -
2025-01-13 11:33:39,127 - DEBUG - Response for create_network : {'network': {'id': '37451bea-ef92-40bd-8f3f-30ab8cfa3db8', 'name': 'ctest-vn-68364938', 'tenant_id': 'b33d48d0b9dd4ccfb5d07ca679081ac2', 'project_id': 'b33d48d0b9dd4ccfb5d07ca679081ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-79426293', 'ctest-vn-68364938'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 11:33:39,379 - DEBUG - Response for create_subnet : {'subnet': {'id': '206cf581-9c8b-4712-acb3-b0c592e2073f', 'name': '', 'tenant_id': 'b33d48d0b9dd4ccfb5d07ca679081ac2', 'network_id': '37451bea-ef92-40bd-8f3f-30ab8cfa3db8', 'ip_version': 4, 'cidr': '53.171.10.64/26', 'allocation_pools': [{'start': '53.171.10.66', 'end': '53.171.10.126'}], 'gateway_ip': '53.171.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.171.10.66', 'tags': [], 'project_id': 'b33d48d0b9dd4ccfb5d07ca679081ac2'}}
2025-01-13 11:33:39,399 - INFO - Created VN ctest-vn-68364938
2025-01-13 11:33:39,453 - DEBUG - VN ctest-vn-68364938 UUID is 37451bea-ef92-40bd-8f3f-30ab8cfa3db8
2025-01-13 11:33:39,738 - DEBUG - Services list from nova: [, , ]
2025-01-13 11:33:40,746 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2610-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2610-1)
2025-01-13 11:33:41,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2610-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2610-1)
2025-01-13 11:33:41,912 - INFO - Waiting for VM ctest-TestBasicVMVNx-79426293-90880784 to be up..
2025-01-13 11:33:41,995 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 11:33:47,081 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 11:33:52,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 11:33:57,250 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 11:34:02,338 - DEBUG - VM is in ACTIVE state now
2025-01-13 11:34:02,339 - INFO - VM name : ctest-TestBasicVMVNx-79426293-90880784
2025-01-13 11:34:02,427 - DEBUG - VM ctest-TestBasicVMVNx-79426293-90880784 ID is c24e23b8-7d82-4810-9c34-7235321f5e91
2025-01-13 11:34:02,446 - DEBUG - VM ctest-TestBasicVMVNx-79426293-90880784 launched on Node cn-jenkins-deploy-platform-ansible-os-2610-1
2025-01-13 11:34:02,541 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/c24e23b8-7d82-4810-9c34-7235321f5e91
2025-01-13 11:34:02,845 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/c24e23b8-7d82-4810-9c34-7235321f5e91
2025-01-13 11:34:02,879 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/18d960f6-dbd5-4764-b1e6-fee868689a1c
2025-01-13 11:34:06,155 - 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 1015ms')
2025-01-13 11:34:06,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79426293-90880784 failed!
2025-01-13 11:34:06,213 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-79426293:ctest-vn-68364938 is 53.171.10.65 and allocation pool is NOT set
2025-01-13 11:34:08,284 - 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=9.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.09 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.089/5.914/9.740/3.825 ms')
2025-01-13 11:34:08,284 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79426293-90880784 passed
2025-01-13 11:34:08,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 11:34:08,441 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79426293-90880784, IP 53.171.10.67, Port 22
2025-01-13 11:34:08,507 - 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-01-13 11:34:08,587 - DEBUG - VM ctest-TestBasicVMVNx-79426293-90880784 is NOT ready for SSH connections, VM status: ACTIVE
2025-01-13 11:34:13,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 11:34:13,588 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79426293-90880784, IP 53.171.10.67, Port 22
2025-01-13 11:34:13,744 - DEBUG - VM ctest-TestBasicVMVNx-79426293-90880784 is ready for SSH connections
2025-01-13 11:34:13,744 - INFO - Waiting for VM ctest-TestBasicVMVNx-79426293-02299775 to be up..
2025-01-13 11:34:13,826 - DEBUG - VM is in ACTIVE state now
2025-01-13 11:34:13,826 - INFO - VM name : ctest-TestBasicVMVNx-79426293-02299775
2025-01-13 11:34:13,903 - DEBUG - VM ctest-TestBasicVMVNx-79426293-02299775 ID is 489ea1f6-2af6-4a42-9bf2-0c5af3ef52b5
2025-01-13 11:34:13,903 - DEBUG - VM ctest-TestBasicVMVNx-79426293-02299775 launched on Node cn-jenkins-deploy-platform-ansible-os-2610-1
2025-01-13 11:34:13,991 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/489ea1f6-2af6-4a42-9bf2-0c5af3ef52b5
2025-01-13 11:34:14,000 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/dcb4d6ae-524c-497a-a118-fbd922311084
2025-01-13 11:34:15,246 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.770/3.113/1.342 ms')
2025-01-13 11:34:15,246 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-79426293-02299775 passed
2025-01-13 11:34:15,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 11:34:15,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79426293-02299775, IP 53.171.10.68, Port 22
2025-01-13 11:34:15,569 - DEBUG - VM ctest-TestBasicVMVNx-79426293-02299775 is ready for SSH connections
2025-01-13 11:34:15,569 - DEBUG - FILE SIZE = 1303B
2025-01-13 11:34:15,569 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-79426293-90880784 to ctest-TestBasicVMVNx-79426293-02299775 using scp
2025-01-13 11:34:15,570 - 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.32, gateway password: c0ntrail123
2025-01-13 11:34:15,570 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-13 11:34:17,167 - DEBUG - 1+0 records in
1+0 records out
2025-01-13 11:34:17,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 11:34:18,312 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123
2025-01-13 11:34:18,313 - DEBUG - ls -l testfile
2025-01-13 11:34:19,910 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 13 04:34 [0;0mtestfile[0m
2025-01-13 11:34:19,910 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-79426293-02299775
2025-01-13 11:34:19,910 - INFO - Deleting VM ctest-TestBasicVMVNx-79426293-02299775
2025-01-13 11:34:19,984 - INFO - Deleting VM ctest-TestBasicVMVNx-79426293-90880784
2025-01-13 11:34:20,070 - INFO - Deleting VN ctest-vn-68364938
2025-01-13 11:34:20,114 - DEBUG - VN 37451bea-ef92-40bd-8f3f-30ab8cfa3db8 still in use: Unable to complete operation on network 37451bea-ef92-40bd-8f3f-30ab8cfa3db8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-14caed64-da9f-4b64-b723-cbda05288d1d']
2025-01-13 11:34:20,114 - WARNING - Deleting VN ctest-vn-68364938 failed..Will retry
2025-01-13 11:34:22,229 - DEBUG - Response for deleting network ()
2025-01-13 11:34:22,486 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 11:34:22,486 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:44]
2025-01-13 11:34:22,487 - INFO - --------------------------------------------------------------------------------
2025-01-13 11:34:23,213 - INFO - Deleted project: ctest-TestBasicVMVNx-79426293, ID : b33d48d0-b9dd-4ccf-b5d0-7ca679081ac2