Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4998 Discussions

VTune agent: {"error":"Unexpected error"}Finished uploading

Raviteja
Beginner
1,074 Views

I'm getting this error when VTune agent tries to upload data from a Target Machine.

 

I'm running version 2023.1.0 of VTune.

I'm manually running the agent with: 

./vtune-agent --admission-key-path=/root/admission.key --deployment-user=passphrase_authenticated_user --shared --log-level trace

 

Running the VTUNE Server GUI on the same machine : 

./vtune-backend --web-port=8080 --allow-remote-access --log-level debug

 

VTune agent log:

 

 

out: {"messageType":"commands:get","messageParameters":{"agentSignature":"kJ9EGU6ShvA+DSKWBekpWSczX4usFPMY+2Em4IqQZy+UFSAm4x3MmLZz2UBuThqLTC1RCpUjoD4DInqFZT6t3/82RVYw9lRcw6X4LWw4AP9rKdlSSyAVICyZkKIsc+waiPGHVitOlvk0IMw4czZ6s/5MvrpL+mSsWzVURfpQ5ThHUumbPaO0Yg9KiToG6mRaNeRo/yTt5XEIvnaQVYi/uEDVnZTsmXpl5RQUH5k/4gLpHdexupdP5lVUoBgeyWcKMGcHqjvx6/l/liAGlITqoIRHfTvsqKMotU4pq5ectEyYRDgpjXkKmDtN/+/F3+n7OxMVD25NLs4F4MQwyQnoAf1r4Zjr1HxI9DXY9/J6ZH5poOEBOObbzMkoqUFjbtC0Ocolw5YCH+P8OjSrzl3XVH3+fNNJFFu6oYKRkkcc1ruw5D+dtZ7vPLSMW0Tsj7JHIzGETWsvLzs98rYO1SDWYMbwzhy9RZwB3zWAmh2QyKUUmEeerUUDgQPHrbIr4LmWkVV/9TlgiOepzXU4CcGcqURC7j81UPOfV/zEjeyo4+CU6pkL0gWnePXBY+ryGCPmYeUPhucNIa8Uipvimk4Hr4WjQeN6gnbxTQcjoNFg7Lf2dUhxztzmaOjFZojrzbUh6Ap4sEV1pQ6FkYXJlduZcbJ76+12gJBmzo0oonoYDxw=","agentUuid":"90c3718e-e655-4457-9245-bbd114ebf9a3"}}
out: {"messageType":"collector:stdout","messageParameters":{"agentSignature":"kJ9EGU6ShvA+DSKWBekpWSczX4usFPMY+2Em4IqQZy+UFSAm4x3MmLZz2UBuThqLTC1RCpUjoD4DInqFZT6t3/82RVYw9lRcw6X4LWw4AP9rKdlSSyAVICyZkKIsc+waiPGHVitOlvk0IMw4czZ6s/5MvrpL+mSsWzVURfpQ5ThHUumbPaO0Yg9KiToG6mRaNeRo/yTt5XEIvnaQVYi/uEDVnZTsmXpl5RQUH5k/4gLpHdexupdP5lVUoBgeyWcKMGcHqjvx6/l/liAGlITqoIRHfTvsqKMotU4pq5ectEyYRDgpjXkKmDtN/+/F3+n7OxMVD25NLs4F4MQwyQnoAf1r4Zjr1HxI9DXY9/J6ZH5poOEBOObbzMkoqUFjbtC0Ocolw5YCH+P8OjSrzl3XVH3+fNNJFFu6oYKRkkcc1ruw5D+dtZ7vPLSMW0Tsj7JHIzGETWsvLzs98rYO1SDWYMbwzhy9RZwB3zWAmh2QyKUUmEeerUUDgQPHrbIr4LmWkVV/9TlgiOepzXU4CcGcqURC7j81UPOfV/zEjeyo4+CU6pkL0gWnePXBY+ryGCPmYeUPhucNIa8Uipvimk4Hr4WjQeN6gnbxTQcjoNFg7Lf2dUhxztzmaOjFZojrzbUh6Ap4sEV1pQ6FkYXJlduZcbJ76+12gJBmzo0oonoYDxw=","id":"19","message":"U3VtIG9mIHRoZSBlbGVtZW50cyBpbiB0aGUgcmVzdWx0aW5nIG1hdHJpeDogMTA2MzIyMS42NDM3NDE0MTAyCg==","agentUuid":"90c3718e-e655-4457-9245-bbd114ebf9a3","size":"64"}}
in:  {"messages":[]}
Collection finished with the exit code 0
Starting trace files upload
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/eksa-cp01.3624709.jit"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0.trace.aux"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/systemcollector-3624513-eksa-cp01.sc"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/pytrace-3624709-0x3459727.log"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/emon.0.bwhist"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0.pytrace-sym"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0-3624709.0.th"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/stdsrc-412208017734574.ftrace"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0.trace"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/sep.events"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/emon.0.emon_version"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/emon.0.emon_cpu"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0.pytrace"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0-3624709.0.th.aux"
out: {"messageType":"collector:feedback","messageParameters":{"agentSignature":"kJ9EGU6ShvA+DSKWBekpWSczX4usFPMY+2Em4IqQZy+UFSAm4x3MmLZz2UBuThqLTC1RCpUjoD4DInqFZT6t3/82RVYw9lRcw6X4LWw4AP9rKdlSSyAVICyZkKIsc+waiPGHVitOlvk0IMw4czZ6s/5MvrpL+mSsWzVURfpQ5ThHUumbPaO0Yg9KiToG6mRaNeRo/yTt5XEIvnaQVYi/uEDVnZTsmXpl5RQUH5k/4gLpHdexupdP5lVUoBgeyWcKMGcHqjvx6/l/liAGlITqoIRHfTvsqKMotU4pq5ectEyYRDgpjXkKmDtN/+/F3+n7OxMVD25NLs4F4MQwyQnoAf1r4Zjr1HxI9DXY9/J6ZH5poOEBOObbzMkoqUFjbtC0Ocolw5YCH+P8OjSrzl3XVH3+fNNJFFu6oYKRkkcc1ruw5D+dtZ7vPLSMW0Tsj7JHIzGETWsvLzs98rYO1SDWYMbwzhy9RZwB3zWAmh2QyKUUmEeerUUDgQPHrbIr4LmWkVV/9TlgiOepzXU4CcGcqURC7j81UPOfV/zEjeyo4+CU6pkL0gWnePXBY+ryGCPmYeUPhucNIa8Uipvimk4Hr4WjQeN6gnbxTQcjoNFg7Lf2dUhxztzmaOjFZojrzbUh6Ap4sEV1pQ6FkYXJlduZcbJ76+12gJBmzo0oonoYDxw=","id":"19","message":"IDxzdGF0ZV9jaGFuZ2VkIHN0YXRlPSIzIiBkYXRhPSIwIi8+CiA8bm9wLz4KPC9mZWVkYmFjaz4K","agentUuid":"90c3718e-e655-4457-9245-bbd114ebf9a3","size":"57"}}
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/emon.0.emon_events"
Uploading trace file: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/emon.0.emon"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/emon.0.bwhist"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/pytrace-3624709-0x3459727.log"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/eksa-cp01.3624709.jit"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0-3624709.0.th"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/sep.events"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0.pytrace-sym"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/stdsrc-412208017734574.ftrace"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0.trace"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/emon.0.emon_version"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/emon.0.emon_cpu"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0.pytrace"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0-3624709.0.th.aux"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/systemcollector-3624513-eksa-cp01.sc"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/emon.0.emon_events"
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/3624513-3624709.0.trace.aux"
in:  {"messages":[]}
{"error":"Unexpected error"}Finished uploading "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0/data.0/emon.0.emon"
Deleting the result directory: "/home/vtunetesting/vtune-agent/./cache/9e72-76d7-2cd1-b7f0"
Finished traces upload
out: {"messageType":"collector:finish","messageParameters":{"agentSignature":"kJ9EGU6ShvA+DSKWBekpWSczX4usFPMY+2Em4IqQZy+UFSAm4x3MmLZz2UBuThqLTC1RCpUjoD4DInqFZT6t3/82RVYw9lRcw6X4LWw4AP9rKdlSSyAVICyZkKIsc+waiPGHVitOlvk0IMw4czZ6s/5MvrpL+mSsWzVURfpQ5ThHUumbPaO0Yg9KiToG6mRaNeRo/yTt5XEIvnaQVYi/uEDVnZTsmXpl5RQUH5k/4gLpHdexupdP5lVUoBgeyWcKMGcHqjvx6/l/liAGlITqoIRHfTvsqKMotU4pq5ectEyYRDgpjXkKmDtN/+/F3+n7OxMVD25NLs4F4MQwyQnoAf1r4Zjr1HxI9DXY9/J6ZH5poOEBOObbzMkoqUFjbtC0Ocolw5YCH+P8OjSrzl3XVH3+fNNJFFu6oYKRkkcc1ruw5D+dtZ7vPLSMW0Tsj7JHIzGETWsvLzs98rYO1SDWYMbwzhy9RZwB3zWAmh2QyKUUmEeerUUDgQPHrbIr4LmWkVV/9TlgiOepzXU4CcGcqURC7j81UPOfV/zEjeyo4+CU6pkL0gWnePXBY+ryGCPmYeUPhucNIa8Uipvimk4Hr4WjQeN6gnbxTQcjoNFg7Lf2dUhxztzmaOjFZojrzbUh6Ap4sEV1pQ6FkYXJlduZcbJ76+12gJBmzo0oonoYDxw=","agentUuid":"90c3718e-e655-4457-9245-bbd114ebf9a3","id":"19","code":"0"}}
in:  {"messages":[]}

 

 

We are running the Analysis from Intel VTUNE GUI.

 

Raviteja_0-1684838141798.png

 

Raviteja_1-1684838205217.png

 

 

0 Kudos
1 Solution
RemyaP_Intel
Moderator
1,029 Views

Hi,


Thank you for posting in Intel communities.


Could you please try out the below steps:


1. Set up password less ssh by following the below link:

 

https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2023-0/configuring-ssh-access-for-remote-collection.html

 

2. Next step is to do port forwarding while connecting to the system:

 

Example : ssh -L 127.0.0.1:7000:127.0.0.1:7000 username@ip

 

Note: Here, we are port forwarding to the port 7000

 

3. Run Vtune backend using the below given command:

 

vtune-backend --allow-remote-access --enable-server-profiling --web-port 7000

 

4. Now, Paste that link into the browser to get VTune GUI

 

5. Click on configure analysis and in "where" pane select "Remote Linux (SSH)" option.

 

VaradJ_Intel_0-1682690589080.png

 

6. Fill the details about the remote server and deploy the agent.

 

7. After that in "what" pane select "Profile System" and fill the fields which are required in the "advanced" section

 

VaradJ_Intel_1-1682690735104.png

 

VaradJ_Intel_0-1682692537510.png

 

8. Now select the analysis type and click on run.

 

If this doesn't resolve your issue, please get back to us with the below details:

  • Processor details 
  • OS details 
  • Kernel version 
  • Exact steps to reproduce the issue(if possible screenshots) 


Otherwise, if this resolves your issue, make sure to accept this as a solution. This would help others with similar issue.



Regards,

Remya Premdas


View solution in original post

0 Kudos
5 Replies
RemyaP_Intel
Moderator
1,030 Views

Hi,


Thank you for posting in Intel communities.


Could you please try out the below steps:


1. Set up password less ssh by following the below link:

 

https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2023-0/configuring-ssh-access-for-remote-collection.html

 

2. Next step is to do port forwarding while connecting to the system:

 

Example : ssh -L 127.0.0.1:7000:127.0.0.1:7000 username@ip

 

Note: Here, we are port forwarding to the port 7000

 

3. Run Vtune backend using the below given command:

 

vtune-backend --allow-remote-access --enable-server-profiling --web-port 7000

 

4. Now, Paste that link into the browser to get VTune GUI

 

5. Click on configure analysis and in "where" pane select "Remote Linux (SSH)" option.

 

VaradJ_Intel_0-1682690589080.png

 

6. Fill the details about the remote server and deploy the agent.

 

7. After that in "what" pane select "Profile System" and fill the fields which are required in the "advanced" section

 

VaradJ_Intel_1-1682690735104.png

 

VaradJ_Intel_0-1682692537510.png

 

8. Now select the analysis type and click on run.

 

If this doesn't resolve your issue, please get back to us with the below details:

  • Processor details 
  • OS details 
  • Kernel version 
  • Exact steps to reproduce the issue(if possible screenshots) 


Otherwise, if this resolves your issue, make sure to accept this as a solution. This would help others with similar issue.



Regards,

Remya Premdas


0 Kudos
Raviteja
Beginner
1,015 Views

Hi 

Thank you so much for responding.

 

I would like to share a few things about my setup.

 

1. Running the VTUNE Profiler server where VTUNE Server and VTUNE Agent is running on the same server.

 

INTEL VTUNE SERVER GUIINTEL VTUNE SERVER GUI

 

2. I am doing a sample python application profiling where it resides on the same server.

 

Python Application ProfilingPython Application Profiling

 

3. Running the Hotspot Snapshot analysis gives the below error in GUI and in VTUNE agent log.

 

VTUNE AGENT LOG:

 

 

 

Collection finished with the exit code 0
Starting trace files upload
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/emon.0.emon"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/emon.0.bwhist"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0-1182252.0.th"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0-1182252.0.th.aux"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/emon.0.emon_events"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0.pytrace-sym"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0.pytrace"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0.trace.aux"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0.trace"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/sep.events"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/emon.0.emon_cpu"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/eksa-cp01.1182252.jit"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/emon.0.emon_version"
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/systemcollector-1182242-eksa-cp01.sc"
out: {"messageType":"collector:feedback","messageParameters":{"agentSignature":"N7wXZV/VfytMXzuDEvdnp0+7o7pOrvq5lxvYKxI+noQprBuJoKahtqoQMh0/YyJs7/xChEa48jHzz/5zlPocXgpV9EgrE4S/DG/QOe3MZKEpoK9XKxUZ/n57MXpumfjRHzM14VLcFGAVRGwWHgFKfBRq74v1nIfs17i92LiP4tOlkFSoxQLllqaPT2Rtj/i3e4QkmQnFYPYpjnxmLO3QvhxI88av0FfZrLL/xeEqCexXWQaeCBME4sKO4b7JnIqZDclFwfm+nVmBGx1H1u7b5DLHPZy7oqEPVU7sJtBYoFwV1da+HE+75n0IpKO6elBBavpB43+IzABgYeL71nWAMPoW9VKkqUTT5YF4gAkAWQFBrbSKQvwMteU496BRdBh6lf3ARW0zfrTsF+0Gutt7yQXTPVz2BWDN9+SfZuxXNKVFi/IqYz+/zmPViESK8XuwH9Ef74tNeBLhM8IfCyY27gieWIRqVB+LsNS9e5aojOvFIY/MybsJ1DHAU1ROEZlPXvmJY+Zfj6ocKatN1mCzsZDB8htsdFbQFbHt9oQkUYyUq1pFB/YnNUR5FT+OzslaCdKYuw+m9Ts2Dg6Spduy5NUdO/Fu3vNddNKySIiijWRw7DAb6ng9gD/ucQc2abPmuawXFevLr75NMN8VE+C95T9ZwsX7ApULtT7JVwXdsXE=","id":"6","message":"IDxzdGF0ZV9jaGFuZ2VkIHN0YXRlPSIzIiBkYXRhPSIwIi8+CiA8bm9wLz4KPC9mZWVkYmFjaz4K","agentUuid":"8ae5565c-d199-4e8e-a7cd-871e6f682f6e","size":"57"}}
Uploading trace file: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/pytrace-1182252-0x2cfe34bf.log"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0-1182252.0.th"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/emon.0.emon"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/emon.0.bwhist"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/emon.0.emon_events"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0.pytrace-sym"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0.pytrace"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0.trace.aux"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0.trace"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/sep.events"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/emon.0.emon_cpu"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/eksa-cp01.1182252.jit"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/emon.0.emon_version"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/systemcollector-1182242-eksa-cp01.sc"
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/1182242-1182252.0-1182252.0.th.aux"
in:  {"messages":[]}
{"error":"Unexpected error"}Finished uploading "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d/data.0/pytrace-1182252-0x2cfe34bf.log"
Deleting the result directory: "/tmp/vtune-agent/./cache/b8af-68e1-fd9f-6f9d"
Finished traces upload
out: {"messageType":"collector:finish","messageParameters":{"agentSignature":"N7wXZV/VfytMXzuDEvdnp0+7o7pOrvq5lxvYKxI+noQprBuJoKahtqoQMh0/YyJs7/xChEa48jHzz/5zlPocXgpV9EgrE4S/DG/QOe3MZKEpoK9XKxUZ/n57MXpumfjRHzM14VLcFGAVRGwWHgFKfBRq74v1nIfs17i92LiP4tOlkFSoxQLllqaPT2Rtj/i3e4QkmQnFYPYpjnxmLO3QvhxI88av0FfZrLL/xeEqCexXWQaeCBME4sKO4b7JnIqZDclFwfm+nVmBGx1H1u7b5DLHPZy7oqEPVU7sJtBYoFwV1da+HE+75n0IpKO6elBBavpB43+IzABgYeL71nWAMPoW9VKkqUTT5YF4gAkAWQFBrbSKQvwMteU496BRdBh6lf3ARW0zfrTsF+0Gutt7yQXTPVz2BWDN9+SfZuxXNKVFi/IqYz+/zmPViESK8XuwH9Ef74tNeBLhM8IfCyY27gieWIRqVB+LsNS9e5aojOvFIY/MybsJ1DHAU1ROEZlPXvmJY+Zfj6ocKatN1mCzsZDB8htsdFbQFbHt9oQkUYyUq1pFB/YnNUR5FT+OzslaCdKYuw+m9Ts2Dg6Spduy5NUdO/Fu3vNddNKySIiijWRw7DAb6ng9gD/ucQc2abPmuawXFevLr75NMN8VE+C95T9ZwsX7ApULtT7JVwXdsXE=","agentUuid":"8ae5565c-d199-4e8e-a7cd-871e6f682f6e","id":"6","code":"0"}}
in:  {"messages":[]}

 

 

 

 

VTUNE GUI SNAPSHOT:

 

VTUNE GUI ResultVTUNE GUI Result

 

Please find the requested details:

 

  • Processor details : Intel(R) Xeon(R) Gold 6314U CPU @ 2.30GHz
  • OS details : Ubuntu 20.04.6 LTS (Focal Fossa)
  • Kernel version : 5.4.161-rt67-rc1

 

Please find the steps to reproduce the issue:

 

1. Install the VTUNE Profiler on the system with IP (10.X.X.X) where above Processor, OS and Kernel Version are met.

2. On that system, Bring up the VTUNE Server GUI using below command:

 

 

 

cd /opt/intel/oneapi/vtune/latest/bin64;./vtune-backend --web-port=7000 --allow-remote-access --enable-server-profiling --log-level debug

 

 

 

After this we can Open the VTUNE Server GUI using with https://10.X.X.X:7000

 

3. Run the VTUNE Agent on the same server using below command,

 

 

 

root@eksa-cp01:/tmp/vtune-agent#
root@eksa-cp01:/tmp/vtune-agent# cd /tmp/vtune-agent/;./vtune-agent --admission-key-path=/root/admission.key --deployment-user=passphrase_authenticated_user --shared --log-level trace
Intel(R) VTune(TM) Profiler Agent

Warning: You are starting the agent with the --shared option. This makes the agent available to all current and future users of Intel VTune Profiler Server instance available at https://10.X.X.X:7000. Any server user will be able to execute arbitrary code using this agent as data collection includes execution of arbitrary workloads. Make sure that it is appropriate to share this agent. It is also recommended to use dedicated faceless accounts to run shared agents.

Connecting to server https://10.X.X.X:7000
Marker file: 1257162.pid
Agent fingerprint: 76:c7:1f:8a:94:a1:30:07:c0:4c:89:7e:86:35:99:e6:8d:be:3a:c1
in:  {"messages":[{"messageType":"connected","messageParameters":null}]}
Connected to the server
amplxe-runss is found at "/tmp/vtune-agent/./bin64/amplxe-runss"
Target package directory: "/tmp/vtune-agent/."
Configuration complete. The Agent is ready for data collection.

 

 

 

 

4. Now we can run the application profiling for Python application using below snapshot

Capture_VTUNE_SERVER_4.PNG

 

Capture_VTUNE_SERVER_5.PNG

 

5. After this Run the analysis by clicking the RUN button.

 

Sample Python code used for this experiment : matrix.py

import random
import math

# Define the size of the matrix
matrix_size = 1000

# Create a random matrix of the specified size
matrix_a = [[random.random() for _ in range(matrix_size)] for _ in range(matrix_size)]
matrix_b = [[random.random() for _ in range(matrix_size)] for _ in range(matrix_size)]

# Perform matrix multiplication
result = [[sum(matrix_a[i][k] * matrix_b[k][j] for k in range(matrix_size)) for j in range(matrix_size)] for i in range(matrix_size)]

# Perform element-wise mathematical operations
for i in range(matrix_size):
    for j in range(matrix_size):
        result[i][j] = math.sin(result[i][j])
        result[i][j] = math.exp(result[i][j])
        result[i][j] = math.sqrt(result[i][j])

# Sum all elements in the resulting matrix
sum_result = sum(sum(row) for row in result)

print("Sum of the elements in the resulting matrix:", sum_result)

 

 

Please let me know if any further logs and details are required.

 

Thanks & Regards

Raviteja

0 Kudos
RemyaP_Intel
Moderator
972 Views

Hi,

 

We are unable to reproduce your issue. 

 

It looks like you are clicking on "Add new remote target". Apologies, if the screenshot in above step 5 is causing confusion. Please click only on "Remote Linux(SSH)" and follow the same steps as mentioned above. 

RemyaP_Intel_0-1685363816735.png

 

Let us know if you are still facing any issues. 

 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issues. Thank you!

 

Regards,

Remya Premdas

 

 

 

0 Kudos
Raviteja
Beginner
937 Views

Hi 

After following the above steps, We are able to run and check the analysis results in Intel VTUNE Profiler GUI.

 

 

Thanks & Regards

Raviteja

0 Kudos
RemyaP_Intel
Moderator
918 Views

Hi,


Glad to know that your issue is resolved.


Thanks for accepting our solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Regards,

Remya Premdas


0 Kudos
Reply