6/20
Report
Sad to say, I had some issues today.
So still no test results, Delayed again... XD
Problems
1. Odroid freezing issue.
2. Memory allocation issue.
3. Fan problems.
1. Odroid freezing issue
So I installed my automation server on the odroid machines, and ran it.
After an hour and a half, It stopped working.
I was wondering what happened and checked datadog to see this error.
This error is caused by selenium chromedriver, so I do not know the cause of it.
It does not specify that the error is caused in my code, so I had a bump.
Anyways, when my code hits an error, it abandons the work, kills the thread, and tries a new one.
But shortly after It tried a new action, it stopped logging.
I could not ssh into my server, I could not vnc into it.
So I checked it with a hdmi cable.
The screen showed up fine.
But I could not see any mouse movement, the caps lock was not working.
The machine just froze.
2. Memory allocation
After the first freezing problem, I have changed some of my code to use less memory.
I had this error pop up.
The odroid n2l has 4 GB to work on, so I had to delete some features to make it more slim.
There were some threads that was running tasks like sending phone screens to my frontend.
There was also image gif logs that I was sending to aws S3.
I know that images consume a lot of memory. So it had to be deleted.

Removed those code today. I am planning to run tests again tomorrow.
I did pick up with some memory profiling tools that can be used in python.
Maybe I will try that too.
3. Fan problems
The odroids were quite hot, but the fans were not spinning at all.
It seems that the odroid fan limit was 65 degree, But the machine freezes before it hits the limit.
I have tried changing the odroid fan limit to 35 degrees.
But I think I have accidently broke the kernel.
The fan does not seem to spin at all.
I think I will reinstall the os tomorrow and try it again.
Links if you are interested.
https://forum.odroid.com/viewtopic.php?f=181&t=46747
Alternative Solution?
I am not sure if my code is the problem, or my hardware is.
But if your hardware cannot handle it,
rather than making your code better, just smash more computing power.
This is a common joke among programmers.
But sometimes it could be a solution. XD
Genius mentions it in video.
Hopefully I have a mini-s beelink machine,
which is a little bit better than the odroid n2l.
I installed my server in it, and is currently running automations.
It seems promising,
It has been working for 3 hours. and no error log yet.
The problem is, I do not have another beelink machine to run 2 concurrently.
What to do.
I will keep the beelink machine running all night.
If it fails with a memory allocation,
my code is definitely the problem.
If it succeeds, I can buy another machine,
but you would have to wait until it arrives.
Either way, I will try to solve the fan problem and the memory problem in my odroid,
and retry it tomorrow.
If that works out, I will just go as originally planned.
Another hard day.
But I aint no quitter.
See ya tomorrow.