2025-04-24 13:33:20,291 - INFO - Domain Default found not creating
2025-04-24 13:33:20,408 - INFO - Project ctest-TestBasicVMVNx-42531731 not found, creating it
2025-04-24 13:33:20,829 - INFO - Created Project:ctest-TestBasicVMVNx-42531731, ID : f5b1ab76-4dc2-4788-984c-dca394bcfa7b
2025-04-24 13:33:22,161 - INFO - ================================================================================
2025-04-24 13:33:22,161 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-24 13:33:22,162 - 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-24 13:33:22,411 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-04-24 13:33:22,411 - INFO - Initial checks done. Running the testcase now
2025-04-24 13:33:22,411 - INFO -
2025-04-24 13:33:22,931 - DEBUG - Response for create_network : {'network': {'id': '83208f00-3ae4-4e45-900e-d327fdcbcdcd', 'name': 'ctest-vn-42650136', 'tenant_id': 'f5b1ab764dc24788984cdca394bcfa7b', 'project_id': 'f5b1ab764dc24788984cdca394bcfa7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-42531731', 'ctest-vn-42650136'], 'port_security_enabled': True, 'description': ''}}
2025-04-24 13:33:23,120 - DEBUG - Response for create_subnet : {'subnet': {'id': '826737e4-b663-4996-becc-01f5ea2545c9', 'name': '', 'tenant_id': 'f5b1ab764dc24788984cdca394bcfa7b', 'network_id': '83208f00-3ae4-4e45-900e-d327fdcbcdcd', 'ip_version': 4, 'cidr': '204.85.187.192/26', 'allocation_pools': [{'start': '204.85.187.194', 'end': '204.85.187.254'}], 'gateway_ip': '204.85.187.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.85.187.194', 'tags': [], 'project_id': 'f5b1ab764dc24788984cdca394bcfa7b'}}
2025-04-24 13:33:23,136 - INFO - Created VN ctest-vn-42650136
2025-04-24 13:33:23,190 - DEBUG - VN ctest-vn-42650136 UUID is 83208f00-3ae4-4e45-900e-d327fdcbcdcd
2025-04-24 13:33:23,378 - DEBUG - Services list from nova: [, , ]
2025-04-24 13:33:24,338 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3205-1)
2025-04-24 13:33:25,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3205-1)
2025-04-24 13:33:25,413 - INFO - Waiting for VM ctest-TestBasicVMVNx-42531731-82433273 to be up..
2025-04-24 13:33:25,488 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-24 13:33:30,557 - DEBUG - VM is in ACTIVE state now
2025-04-24 13:33:30,557 - INFO - VM name : ctest-TestBasicVMVNx-42531731-82433273
2025-04-24 13:33:30,622 - DEBUG - VM ctest-TestBasicVMVNx-42531731-82433273 ID is fe845ba1-14fd-4387-b9c9-018bca72b0b9
2025-04-24 13:33:30,639 - DEBUG - VM ctest-TestBasicVMVNx-42531731-82433273 launched on Node cn-jenkins-deploy-platform-ansible-os-3205-1
2025-04-24 13:33:30,708 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fe845ba1-14fd-4387-b9c9-018bca72b0b9
2025-04-24 13:33:31,000 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fe845ba1-14fd-4387-b9c9-018bca72b0b9
2025-04-24 13:33:31,028 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/56dfe078-f440-453b-8ce0-5eb2a4cfb7e2
2025-04-24 13:33:34,287 - 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 1020ms')
2025-04-24 13:33:34,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42531731-82433273 failed!
2025-04-24 13:33:34,342 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-42531731:ctest-vn-42650136 is 204.85.187.193 and allocation pool is NOT set
2025-04-24 13:33:36,407 - 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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.327 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.327/1.632/2.938/1.305 ms')
2025-04-24 13:33:36,408 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42531731-82433273 passed
2025-04-24 13:33:36,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 13:33:36,566 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42531731-82433273, IP 204.85.187.195, Port 22
2025-04-24 13:33:36,717 - DEBUG - VM ctest-TestBasicVMVNx-42531731-82433273 is ready for SSH connections
2025-04-24 13:33:36,718 - INFO - Waiting for VM ctest-TestBasicVMVNx-42531731-44374479 to be up..
2025-04-24 13:33:36,864 - DEBUG - VM is in ACTIVE state now
2025-04-24 13:33:36,865 - INFO - VM name : ctest-TestBasicVMVNx-42531731-44374479
2025-04-24 13:33:36,931 - DEBUG - VM ctest-TestBasicVMVNx-42531731-44374479 ID is 1db0f5fe-7e00-4abb-9030-ed5519de4ad7
2025-04-24 13:33:36,931 - DEBUG - VM ctest-TestBasicVMVNx-42531731-44374479 launched on Node cn-jenkins-deploy-platform-ansible-os-3205-1
2025-04-24 13:33:37,003 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1db0f5fe-7e00-4abb-9030-ed5519de4ad7
2025-04-24 13:33:37,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9694d2c2-727d-49a0-9ce9-d708543fa507
2025-04-24 13:33:38,250 - 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=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.610/2.818/1.207 ms')
2025-04-24 13:33:38,250 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-42531731-44374479 passed
2025-04-24 13:33:38,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 13:33:38,406 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42531731-44374479, IP 204.85.187.196, Port 22
2025-04-24 13:33:38,557 - DEBUG - VM ctest-TestBasicVMVNx-42531731-44374479 is ready for SSH connections
2025-04-24 13:33:38,557 - DEBUG - FILE SIZE = 1303B
2025-04-24 13:33:38,557 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-42531731-82433273 to ctest-TestBasicVMVNx-42531731-44374479 using scp
2025-04-24 13:33:38,558 - 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.38, gateway password: c0ntrail123
2025-04-24 13:33:38,558 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-24 13:33:40,418 - DEBUG - 1+0 records in
1+0 records out
2025-04-24 13:33:40,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-24 13:33:41,307 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-04-24 13:33:41,307 - DEBUG - ls -l testfile
2025-04-24 13:33:42,889 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 24 07:33 [0;0mtestfile[0m
2025-04-24 13:33:42,889 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-42531731-44374479
2025-04-24 13:33:42,889 - INFO - Deleting VM ctest-TestBasicVMVNx-42531731-44374479
2025-04-24 13:33:42,946 - INFO - Deleting VM ctest-TestBasicVMVNx-42531731-82433273
2025-04-24 13:33:43,006 - INFO - Deleting VN ctest-vn-42650136
2025-04-24 13:33:43,038 - DEBUG - VN 83208f00-3ae4-4e45-900e-d327fdcbcdcd still in use: Unable to complete operation on network 83208f00-3ae4-4e45-900e-d327fdcbcdcd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-06a85c16-85d9-48a2-bfc8-96cf3770513d']
2025-04-24 13:33:43,038 - WARNING - Deleting VN ctest-vn-42650136 failed..Will retry
2025-04-24 13:33:45,137 - DEBUG - Response for deleting network ()
2025-04-24 13:33:45,387 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 13:33:45,387 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-24 13:33:45,387 - INFO - --------------------------------------------------------------------------------
2025-04-24 13:33:46,043 - INFO - Deleted project: ctest-TestBasicVMVNx-42531731, ID : f5b1ab76-4dc2-4788-984c-dca394bcfa7b