2025-02-19 18:08:43,450 - INFO - Domain Default found not creating
2025-02-19 18:08:43,632 - INFO - Project ctest-TestBasicVMVNx-41858472 not found, creating it
2025-02-19 18:08:44,131 - INFO - Created Project:ctest-TestBasicVMVNx-41858472, ID : 814b7037-39bd-40fd-a0b4-c0dc029709a4
2025-02-19 18:08:45,664 - INFO - ================================================================================
2025-02-19 18:08:45,664 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-02-19 18:08:45,664 - 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-02-19 18:08:45,924 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.10': '0'}} with
2025-02-19 18:08:45,924 - INFO - Initial checks done. Running the testcase now
2025-02-19 18:08:45,925 - INFO -
2025-02-19 18:08:46,488 - DEBUG - Response for create_network : {'network': {'id': 'd57b0811-a8dd-47e6-a99d-f4e9033c29dd', 'name': 'ctest-vn-67369572', 'tenant_id': '814b703739bd40fda0b4c0dc029709a4', 'project_id': '814b703739bd40fda0b4c0dc029709a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-41858472', 'ctest-vn-67369572'], 'port_security_enabled': True, 'description': ''}}
2025-02-19 18:08:46,679 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd1a3dca-46ee-4b74-b0a1-39103f34c837', 'name': '', 'tenant_id': '814b703739bd40fda0b4c0dc029709a4', 'network_id': 'd57b0811-a8dd-47e6-a99d-f4e9033c29dd', 'ip_version': 4, 'cidr': '207.17.20.128/26', 'allocation_pools': [{'start': '207.17.20.130', 'end': '207.17.20.190'}], 'gateway_ip': '207.17.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.17.20.130', 'tags': [], 'project_id': '814b703739bd40fda0b4c0dc029709a4'}}
2025-02-19 18:08:46,698 - INFO - Created VN ctest-vn-67369572
2025-02-19 18:08:46,752 - DEBUG - VN ctest-vn-67369572 UUID is d57b0811-a8dd-47e6-a99d-f4e9033c29dd
2025-02-19 18:08:46,939 - DEBUG - Services list from nova: [, , ]
2025-02-19 18:08:48,022 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2746-1)
2025-02-19 18:08:49,227 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2746-1)
2025-02-19 18:08:49,227 - INFO - Waiting for VM ctest-TestBasicVMVNx-41858472-74333841 to be up..
2025-02-19 18:08:49,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-02-19 18:08:54,446 - DEBUG - VM is in ACTIVE state now
2025-02-19 18:08:54,446 - INFO - VM name : ctest-TestBasicVMVNx-41858472-74333841
2025-02-19 18:08:54,547 - DEBUG - VM ctest-TestBasicVMVNx-41858472-74333841 ID is 0b1eee6b-3a86-4028-965f-deca0a38f7c4
2025-02-19 18:08:54,573 - DEBUG - VM ctest-TestBasicVMVNx-41858472-74333841 launched on Node cn-jenkins-deploy-platform-ansible-os-2746-1
2025-02-19 18:08:54,671 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/0b1eee6b-3a86-4028-965f-deca0a38f7c4
2025-02-19 18:08:54,984 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/0b1eee6b-3a86-4028-965f-deca0a38f7c4
2025-02-19 18:08:55,024 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/895ece6e-db11-404c-8f6f-4859610d7b19
2025-02-19 18:08:58,305 - 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 1002ms')
2025-02-19 18:08:58,305 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41858472-74333841 failed!
2025-02-19 18:08:58,360 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-41858472:ctest-vn-67369572 is 207.17.20.129 and allocation pool is NOT set
2025-02-19 18:09:00,424 - 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=4.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.461/2.500/4.540/2.039 ms')
2025-02-19 18:09:00,424 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41858472-74333841 passed
2025-02-19 18:09:00,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-19 18:09:00,580 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41858472-74333841, IP 207.17.20.131, Port 22
2025-02-19 18:09:00,737 - DEBUG - VM ctest-TestBasicVMVNx-41858472-74333841 is ready for SSH connections
2025-02-19 18:09:00,737 - INFO - Waiting for VM ctest-TestBasicVMVNx-41858472-29178735 to be up..
2025-02-19 18:09:00,829 - DEBUG - VM is in ACTIVE state now
2025-02-19 18:09:00,829 - INFO - VM name : ctest-TestBasicVMVNx-41858472-29178735
2025-02-19 18:09:00,920 - DEBUG - VM ctest-TestBasicVMVNx-41858472-29178735 ID is def1196e-def7-47bd-aa40-777d14abfc33
2025-02-19 18:09:00,920 - DEBUG - VM ctest-TestBasicVMVNx-41858472-29178735 launched on Node cn-jenkins-deploy-platform-ansible-os-2746-1
2025-02-19 18:09:01,009 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/def1196e-def7-47bd-aa40-777d14abfc33
2025-02-19 18:09:01,019 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/4011bea9-7fdd-4874-8630-b5b119facaf0
2025-02-19 18:09:02,279 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.572 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.572/2.192/3.812/1.620 ms')
2025-02-19 18:09:02,279 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-41858472-29178735 passed
2025-02-19 18:09:02,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-19 18:09:02,436 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41858472-29178735, IP 207.17.20.132, Port 22
2025-02-19 18:09:02,602 - DEBUG - VM ctest-TestBasicVMVNx-41858472-29178735 is ready for SSH connections
2025-02-19 18:09:02,602 - DEBUG - FILE SIZE = 1303B
2025-02-19 18:09:02,602 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-41858472-74333841 to ctest-TestBasicVMVNx-41858472-29178735 using scp
2025-02-19 18:09:02,603 - 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.35, gateway password: c0ntrail123
2025-02-19 18:09:02,604 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-02-19 18:09:04,563 - DEBUG - 1+0 records in
1+0 records out
2025-02-19 18:09:05,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-02-19 18:09:05,686 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123
2025-02-19 18:09:05,686 - DEBUG - ls -l testfile
2025-02-19 18:09:07,294 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 19 11:09 [0;0mtestfile[0m
2025-02-19 18:09:07,294 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-41858472-29178735
2025-02-19 18:09:07,295 - INFO - Deleting VM ctest-TestBasicVMVNx-41858472-29178735
2025-02-19 18:09:07,372 - INFO - Deleting VM ctest-TestBasicVMVNx-41858472-74333841
2025-02-19 18:09:07,451 - INFO - Deleting VN ctest-vn-67369572
2025-02-19 18:09:07,492 - DEBUG - VN d57b0811-a8dd-47e6-a99d-f4e9033c29dd still in use: Unable to complete operation on network d57b0811-a8dd-47e6-a99d-f4e9033c29dd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a4237acc-1173-42e4-9f50-e011819f9501']
2025-02-19 18:09:07,492 - WARNING - Deleting VN ctest-vn-67369572 failed..Will retry
2025-02-19 18:09:09,624 - DEBUG - Response for deleting network ()
2025-02-19 18:09:09,887 - DEBUG - No XMPP flaps were noticed during the test
2025-02-19 18:09:09,887 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-19 18:09:09,887 - INFO - --------------------------------------------------------------------------------
2025-02-19 18:09:10,601 - INFO - Deleted project: ctest-TestBasicVMVNx-41858472, ID : 814b7037-39bd-40fd-a0b4-c0dc029709a4